From a1fbe5d2f8b27fa9809d50b551a93952c672f6f7 Mon Sep 17 00:00:00 2001 From: Lucien Cartier-Tilet Date: Fri, 10 Mar 2023 15:32:55 +0100 Subject: [PATCH] [Emacs] Cleaner elisp-mode configuration --- org/config/emacs.org | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/org/config/emacs.org b/org/config/emacs.org index 3695d2d..2106dde 100644 --- a/org/config/emacs.org +++ b/org/config/emacs.org @@ -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