diff options
author | Thomas Voss <mail@thomasvoss.com> | 2024-10-16 23:12:52 +0200 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2024-10-16 23:12:52 +0200 |
commit | 8fe67d640e96d58c32cf0bd6168937a3986502b7 (patch) | |
tree | a29fa91cf00ce2c5b76a130e2ba66fca6abd156e /.config/emacs/modules/mm-calc.el | |
parent | 0364f07e8f2333e3a8c7bc7022aa582321542ca5 (diff) |
emacs: Discover that ‘calc-roll-down’ exists
Diffstat (limited to '.config/emacs/modules/mm-calc.el')
-rw-r--r-- | .config/emacs/modules/mm-calc.el | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/.config/emacs/modules/mm-calc.el b/.config/emacs/modules/mm-calc.el index 2a9a74b..f87a93a 100644 --- a/.config/emacs/modules/mm-calc.el +++ b/.config/emacs/modules/mm-calc.el @@ -1,18 +1,6 @@ ;;; mm-calc.el --- Emacs configurations for ‘calc-mode’ -*- lexical-binding: t; -*- -;; TODO: Swap more than 2 elements? -(defun mm-calc-swap () - "Swap the top two elements on the stack." - (declare (modes calc-mode)) - (interactive) - (calc-over 2) - (calc-truncate-up 2) - (calc-pop 1) - (calc-truncate-down 2)) - (use-package calc - :bind (:map calc-mode-map - ("C-c x" . #'mm-calc-swap)) ;; TODO: Can this be done in :custom? :init (setopt |