1
0
Fork 0

[oni-git-commit] Enable ‘electric-pair-local-mode’

With ‘electric-pair-local-mode’ enabled and my inhibit function, this makes for
some pretty easy typing of words like “don't”.
This commit is contained in:
Tom Willemse 2021-11-30 15:28:44 -08:00
parent 6c611b5007
commit e1aecd6f63

View file

@ -4,7 +4,7 @@
;; Author: Tom Willemse <tom@ryuslash.org> ;; Author: Tom Willemse <tom@ryuslash.org>
;; Keywords: local ;; Keywords: local
;; Version: 2021.1123.003204 ;; Version: 2021.1130.152816
;; Package-Requires: (git-commit) ;; Package-Requires: (git-commit)
;; This program is free software; you can redistribute it and/or modify ;; This program is free software; you can redistribute it and/or modify
@ -26,6 +26,7 @@
;;; Code: ;;; Code:
(add-hook 'git-commit-mode-hook 'electric-pair-local-mode)
(add-hook 'git-commit-mode-hook 'electric-quote-local-mode) (add-hook 'git-commit-mode-hook 'electric-quote-local-mode)
(add-hook 'git-commit-mode-hook 'refill-mode) (add-hook 'git-commit-mode-hook 'refill-mode)