summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--init.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/init.el b/init.el index 2fcd564..be2b58f 100644 --- a/init.el +++ b/init.el
@@ -740,13 +740,13 @@ if ripgrep is installed, otherwise `consult-grep'."
740 740
741(setup (:straight paren-face) 741(setup (:straight paren-face)
742 (dolist (mode lispy-modes) 742 (dolist (mode lispy-modes)
743 (:hook-into mode))) 743 (add-hook (intern (concat (symbol-name mode) "-hook")) #'paren-face-mode)))
744 744
745(setup (:straight paredit) 745(setup (:straight paredit)
746 (autoload 'enable-paredit-mode "paredit" nil t) 746 (autoload 'enable-paredit-mode "paredit" nil t)
747 747
748 (dolist (mode lispy-modes) 748 (dolist (mode lispy-modes)
749 (:hook-into mode)) 749 (add-hook (intern (concat (symbol-name mode) "-hook")) #'enable-paredit-mode))
750 750
751 (defun paredit-disable-electric-pair-local-mode () 751 (defun paredit-disable-electric-pair-local-mode ()
752 "Disable `electric-pair-local-mode' when `paredit-mode' is enabled." 752 "Disable `electric-pair-local-mode' when `paredit-mode' is enabled."