about summary refs log tree commit diff
path: root/tools/emacs
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@google.com>2020-03-09T00·16+0000
committerVincent Ambo <tazjin@google.com>2020-03-09T00·16+0000
commit15ae7fadb8ac5fcfb2339032a2502e543610ca29 (patch)
treec64b9324e64625277cee9c45fc6300220e7b5829 /tools/emacs
parent067acdbcaeff5d8eddc957bc4a05717f5f76876b (diff)
fix(tools/emacs): Set scratch buffer to Emacs Lisp mode r/596
This used to be the case, but it changed to lisp-interaction-mode at
some point which is incredibly annoying.
Diffstat (limited to 'tools/emacs')
-rw-r--r--tools/emacs/config/settings.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/emacs/config/settings.el b/tools/emacs/config/settings.el
index 274dcdde3554..b895d5e4061e 100644
--- a/tools/emacs/config/settings.el
+++ b/tools/emacs/config/settings.el
@@ -19,7 +19,8 @@
       whitespace-line-column 80
       default-directory "~"
       fill-column 80
-      ediff-split-window-function 'split-window-horizontally)
+      ediff-split-window-function 'split-window-horizontally
+      initial-major-mode 'emacs-lisp-mode)
 
 (add-to-list 'safe-local-variable-values '(lexical-binding . t))
 (add-to-list 'safe-local-variable-values '(whitespace-line-column . 80))