about summary refs log tree commit diff
path: root/users/wpcarro/emacs/.emacs.d
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2022-07-30T14·08-0700
committerclbot <clbot@tvl.fyi>2022-07-30T14·12+0000
commit977473d6316c2122cfbdcdebe30a111aaab0aa33 (patch)
tree6333b2adccd641e13ccdac0407f6502679f934cf /users/wpcarro/emacs/.emacs.d
parent21a3da25b8022288d571f570ddb17e6e2c11d13f (diff)
feat(wpcarro/emacs): Re-enable electric-pair-mode r/4352
I miss this mode (especially when writing lisp).

Change-Id: I4ebcd5011fd1abb67270214f292a3b883b8c0ca8
Reviewed-on: https://cl.tvl.fyi/c/depot/+/6007
Reviewed-by: wpcarro <wpcarro@gmail.com>
Autosubmit: wpcarro <wpcarro@gmail.com>
Tested-by: BuildkiteCI
Diffstat (limited to 'users/wpcarro/emacs/.emacs.d')
-rw-r--r--users/wpcarro/emacs/.emacs.d/wpc/wpc-misc.el3
1 files changed, 3 insertions, 0 deletions
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))