[Emacs] Cleaner elisp-mode configuration

This commit is contained in:
Lucien Cartier-Tilet 2023-03-10 15:32:55 +01:00
parent aeefc83ac6
commit a1fbe5d2f8
Signed by: phundrak
GPG Key ID: BD7789E705CB8DCA
1 changed files with 5 additions and 1 deletions

View File

@ -6935,7 +6935,11 @@ in the echo area at the bottom of the frame. Quite useful indeed.
#+end_src
#+begin_src emacs-lisp
(add-hook 'emacs-lisp-mode-hook (lambda () (smartparens-mode -1)))
(use-package elisp-mode
:straight (:type built-in)
:requires smartparens
:config
(add-hook 'emacs-lisp-mode-hook (lambda () (smartparens-mode -1))))
#+end_src
Still on the topic of documentation, I sometimes find it lacks