diff options
author | Thomas Voss <mail@thomasvoss.com> | 2023-08-14 01:21:08 +0200 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2023-08-14 01:21:08 +0200 |
commit | 9f7680bd00775961ee58468e89ac5ada9f79dc5a (patch) | |
tree | bb9d257f655dd9eafde33904442f5c507eb85dea | |
parent | ba37a8d2b0c82e0a01e8928091fce1b0724183a2 (diff) |
emacs & ec: Disable ‘calc-mode’ trail
-rw-r--r-- | .config/emacs/config.org | 12 | ||||
-rwxr-xr-x | .local/bin/ec | 3 |
2 files changed, 14 insertions, 1 deletions
diff --git a/.config/emacs/config.org b/.config/emacs/config.org index 28d00cb..55b4dd5 100644 --- a/.config/emacs/config.org +++ b/.config/emacs/config.org @@ -543,6 +543,18 @@ autocompleting code but has other uses too I guess. #+END_SRC +** Mathematics + +The built-in emacs calculator ~calc~ is genuinely the best calculator program I +have ever used. Annoyingly though, it has a ‘trail’ that is always around. I +don’t like it. + +#+BEGIN_SRC elisp + + (setq calc-display-trail nil) + +#+END_SRC + ** Programming *** Indentation diff --git a/.local/bin/ec b/.local/bin/ec index 4efe2da..f3a101b 100755 --- a/.local/bin/ec +++ b/.local/bin/ec @@ -3,7 +3,8 @@ (menu-bar-mode -1) (setq select-enable-primary t - help-window-select t) + help-window-select t + calc-display-trail nil) (full-calc) (keymap-set calc-mode-map "q" #'kill-emacs) |