summaryrefslogtreecommitdiff
path: root/config/init-session.el
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2024-04-08 08:20:28 -0700
committerFranck Cuny <franck@fcuny.net>2024-04-08 08:20:28 -0700
commit6cd9143302233a6011153ac43261646d197783d4 (patch)
treeb9ee1644c30718d93789617a9ffe9bf0d7f69d2f /config/init-session.el
parentmore tweaks (diff)
downloademacs.d-6cd9143302233a6011153ac43261646d197783d4.tar.gz
configure electric-pair correctly
Diffstat (limited to 'config/init-session.el')
-rw-r--r--config/init-session.el6
1 files changed, 5 insertions, 1 deletions
diff --git a/config/init-session.el b/config/init-session.el
index 56f8b9b..7848866 100644
--- a/config/init-session.el
+++ b/config/init-session.el
@@ -17,11 +17,15 @@
(setq tab-always-indent 'complete) ;; when using TAB, always indent
(setq visible-bell nil) ;; no bell
-(setq electric-pair-mode 1) ;; matches parens and brackets
(setq indent-tabs-mode nil) ;; turn off tab indentation
(setq delete-by-moving-to-trash t) ;; delete files by moving them to the trash
+(use-package electric
+ :defer t
+ :init
+ (electric-pair-mode 1))
+
;; bytecomp.el
(setq byte-compile-verbose nil)