From 515fc7fab84a0b496a63d4b667864558ccb678d4 Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Fri, 16 Aug 2024 12:23:32 +0100 Subject: (Emacs/config)+use-package declaration for show-paren-mode --- Emacs/.config/emacs/config.org | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Emacs/.config/emacs/config.org') diff --git a/Emacs/.config/emacs/config.org b/Emacs/.config/emacs/config.org index dac1b10..d22dc6d 100644 --- a/Emacs/.config/emacs/config.org +++ b/Emacs/.config/emacs/config.org @@ -2274,7 +2274,8 @@ use 70 fill columns while code should stick to 80. Show parenthesis for Emacs #+begin_src emacs-lisp -(add-hook 'prog-mode-hook #'show-paren-mode) +(use-package paren + :hook (prog-mode-hook . show-paren-mode)) #+end_src ** Smartparens Smartparens is a smarter electric-parens, it's much more aware of -- cgit v1.2.3-13-gbd6f