summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.config/emacs/config.org12
-rwxr-xr-x.local/bin/ec3
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)