From 977473d6316c2122cfbdcdebe30a111aaab0aa33 Mon Sep 17 00:00:00 2001 From: William Carroll Date: Sat, 30 Jul 2022 07:08:57 -0700 Subject: feat(wpcarro/emacs): Re-enable electric-pair-mode I miss this mode (especially when writing lisp). Change-Id: I4ebcd5011fd1abb67270214f292a3b883b8c0ca8 Reviewed-on: https://cl.tvl.fyi/c/depot/+/6007 Reviewed-by: wpcarro Autosubmit: wpcarro Tested-by: BuildkiteCI --- users/wpcarro/emacs/.emacs.d/wpc/wpc-misc.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/users/wpcarro/emacs/.emacs.d/wpc/wpc-misc.el b/users/wpcarro/emacs/.emacs.d/wpc/wpc-misc.el index f075776bfc55..cac16d26bdd1 100644 --- a/users/wpcarro/emacs/.emacs.d/wpc/wpc-misc.el +++ b/users/wpcarro/emacs/.emacs.d/wpc/wpc-misc.el @@ -332,6 +332,9 @@ (interactive) (clipboard-copy (emojify-completing-read "Copy: ")))) +;; Always auto-close parantheses and other pairs +(electric-pair-mode) + ;; Start the Emacs server (when (not (server-running-p)) (server-start)) -- cgit 1.4.1