diff options
author | Tom Willemse | 2021-11-30 15:25:10 -0800 |
---|---|---|
committer | Tom Willemse | 2021-11-30 15:25:10 -0800 |
commit | 6c611b5007200e0c4583e39ca8e1e8141295031d (patch) | |
tree | cf5304a297af20407640b5993532741d672ddd93 | |
parent | 7432982e6a2462d59300f5a9d1ba54d0f8ef56a4 (diff) | |
download | emacs-config-6c611b5007200e0c4583e39ca8e1e8141295031d.tar.gz emacs-config-6c611b5007200e0c4583e39ca8e1e8141295031d.zip |
[oni-org] Enable ‘electric-pair-local-mode’
With ‘electric-pair-local-mode’ and my inhibit function together I get a pretty
reasonable way of typing fancy quotes and regular quotes in words like “don't”.
-rw-r--r-- | oni-org/oni-org.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/oni-org/oni-org.el b/oni-org/oni-org.el index 1943d07..3f8ab71 100644 --- a/oni-org/oni-org.el +++ b/oni-org/oni-org.el @@ -4,7 +4,7 @@ ;; Author: Tom Willemse <tom@ryuslash.org> ;; Keywords: local -;; Version: 2021.1017.163745 +;; Version: 2021.1130.152454 ;; Package-Requires: (oni-yasnippet oni-alert oni-hydra org org-contrib org-bullets org-edna diminish all-the-icons olivetti mixed-pitch) ;; This program is free software; you can redistribute it and/or modify @@ -479,6 +479,7 @@ also move point to the start of the heading." (add-hook 'org-mode-hook #'oni-org-set-tag-faces) (add-hook 'org-mode-hook #'oni-org-set-todo-keyword-faces) (add-hook 'org-mode-hook #'oni-org-set-yasnippet-condition) +(add-hook 'org-mode-hook 'electric-pair-local-mode) (add-hook 'org-mode-hook 'electric-quote-local-mode) (add-hook 'org-mode-hook 'flyspell-mode) (add-hook 'org-mode-hook 'mixed-pitch-mode) |