aboutsummaryrefslogtreecommitdiff
path: root/modules/prog-c.el
diff options
context:
space:
mode:
Diffstat (limited to 'modules/prog-c.el')
-rw-r--r--modules/prog-c.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/prog-c.el b/modules/prog-c.el
index dd5d7ace5..294375cb4 100644
--- a/modules/prog-c.el
+++ b/modules/prog-c.el
@@ -70,7 +70,7 @@
(setq-local fill-column 80) ;; wrap at 80 columns
(setq-local comment-auto-fill-only-comments t) ;; only auto-fill inside comments
(auto-fill-mode) ;; auto-fill multiline comments
- (electric-pair-mode) ;; automatic parenthesis pairing
+ (electric-pair-local-mode) ;; automatic parenthesis pairing
;; Enable LSP if available
(when (and (fboundp 'lsp-deferred)