Enable smartparens when evaluting elisp in the minibuffer
This commit is contained in:
parent
eb65da7d71
commit
14c90b2e5f
@ -1083,9 +1083,11 @@ Emacs prevents new users from shooting themselves in the feet.
|
||||
(add-hook 'prog-mode-hook #'turn-on-smartparens-mode)
|
||||
(add-hook 'text-mode-hook #'turn-on-smartparens-mode)
|
||||
|
||||
(add-hook 'emacs-lisp-mode-hook #'turn-on-smartparens-strict-mode)
|
||||
(add-hook 'ielm-mode-hook #'turn-on-smartparens-strict-mode)
|
||||
(add-hook 'python-mode-hook #'turn-on-smartparens-strict-mode)
|
||||
(dolist (hook '(emacs-lisp-mode-hook
|
||||
eval-expression-minibuffer-setup-hook
|
||||
ielm-mode-hook
|
||||
python-mode-hook))
|
||||
(add-hook hook #'turn-on-smartparens-mode))
|
||||
|
||||
;; https://xenodium.com/emacs-smartparens-auto-indent/index.html
|
||||
(defun indent-between-pair (&rest _ignored)
|
||||
|
Loading…
Reference in New Issue
Block a user