summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--init.el8
1 files changed, 5 insertions, 3 deletions
diff --git a/init.el b/init.el index 3cc4edc..489edbd 100644 --- a/init.el +++ b/init.el
@@ -819,10 +819,12 @@ if ripgrep is installed, otherwise `consult-grep'."
819 lisp-interaction-mode-hook 819 lisp-interaction-mode-hook
820 scheme-mode-hook)) 820 scheme-mode-hook))
821 (add-hook hook #'enable-paredit-mode)) 821 (add-hook hook #'enable-paredit-mode))
822 (:hook (defun hook--paredit-disable-electric-pair () 822 (add-hook 'paredit-mode-hook
823 (electric-pair-local-mode -1))) 823 (defun hook--paredit-disable-electric-pair ()
824 (electric-pair-local-mode -1)))
824 (require 'eldoc) 825 (require 'eldoc)
825 (eldoc-add-command 'paredit-backward-delete 'paredit-close-round)) 826 (eldoc-add-command 'paredit-backward-delete 'paredit-close-round)
827 (:bind "<backspace>" paredit-backward-delete))
826 828
827;;;;; Emacs lisp 829;;;;; Emacs lisp
828(setup elisp-mode 830(setup elisp-mode