diff options
| author | Miquel Sabaté Solà <msabate@suse.com> | 2019-09-04 11:17:49 +0200 |
|---|---|---|
| committer | Miquel Sabaté Solà <msabate@suse.com> | 2019-09-04 11:17:49 +0200 |
| commit | 5df9dda658d2c20d1e6facf679ac5e968d69f4a4 (patch) | |
| tree | 7410185ec90aa5f56cd24dfb6331700ed941c9a0 /.emacs.d | |
| parent | c28324bae16a71937006c0d8a4f606cdc1eb077c (diff) | |
| download | dotfiles-5df9dda658d2c20d1e6facf679ac5e968d69f4a4.tar.gz dotfiles-5df9dda658d2c20d1e6facf679ac5e968d69f4a4.zip | |
emacs.d: added a hook for lisp-mode
Quite similar to what I'm doing in emacs-lisp.
Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
Diffstat (limited to '.emacs.d')
| -rw-r--r-- | .emacs.d/init.org | 10 |
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 |
