diff options
author | fpi | 2020-12-20 13:33:42 +0100 |
---|---|---|
committer | fpi | 2022-03-17 14:37:54 +0100 |
commit | 7d6798c7e74991a5e79b79faee7e5b4562b3d8d7 (patch) | |
tree | 80761eb2a03d0d55e2f6d0cc11c20fc8ab88bf7b | |
parent | [WIP] Add some notification related packages (diff) |
Make „“ act electric
-rw-r--r-- | emacs-init.org | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/emacs-init.org b/emacs-init.org index 9da3cfd..0b407fb 100644 --- a/emacs-init.org +++ b/emacs-init.org @@ -5811,10 +5811,13 @@ temporary buffer is created. (use-package electric :init (setq electric-pair-inhibit-predicate 'electric-pair-conservative-inhibit) - (setq electric-pair-pairs '((34 . 34) - (8216 . 8217) - (8220 . 8221) - (171 . 187))) + (setq electric-pair-pairs '((?\" . ?\") + (?‘ . ?’) + (?“ . ?”) + (?« . ?») + (?„ . ?“) + (?‚ . ?‘) + )) (setq electric-pair-skip-self 'electric-pair-default-skip-self) (setq electric-quote-context-sensitive t) (setq electric-quote-paragraph t) |