aboutsummaryrefslogtreecommitdiff
path: root/.emacs.d
diff options
context:
space:
mode:
Diffstat (limited to '.emacs.d')
-rw-r--r--.emacs.d/init.org10
1 files changed, 10 insertions, 0 deletions
diff --git a/.emacs.d/init.org b/.emacs.d/init.org
index 74fc18f..13298c0 100644
--- a/.emacs.d/init.org
+++ b/.emacs.d/init.org
@@ -1938,6 +1938,16 @@ Configure =ielm= with the proper ELisp utilities:
(global-set-key (kbd "C-x i l") 'ielm))
#+END_SRC
+Add =rainbow-delimiters= and =warnings-mode-hook= also for =lisp-mode=:
+
+#+BEGIN_SRC elisp
+(add-hook 'lisp-mode-hook
+ (lambda ()
+ (warnings-mode-hook)
+ (rainbow-delimiters-mode 1)
+ (setq mode-name "λ")))
+#+END_SRC
+
** C and C++
C and C++ only require the =warnings-mode-hook= function, spell checking for the