diff options
author | Alan Pearce | 2015-07-11 09:11:51 +0200 |
---|---|---|
committer | Alan Pearce | 2015-07-11 09:11:51 +0200 |
commit | 707417bafeb518ffd2fa3e107bff6db1340e8365 (patch) | |
tree | a76e63ef9062cba49e632c634b410d12b168eebc /tag-emacs | |
parent | 80377a1167450216e5fcf2f720d4cc29f35f5dc2 (diff) | |
download | nixfiles-707417bafeb518ffd2fa3e107bff6db1340e8365.tar.lz nixfiles-707417bafeb518ffd2fa3e107bff6db1340e8365.tar.zst nixfiles-707417bafeb518ffd2fa3e107bff6db1340e8365.zip |
Emacs: Change typopunct language after loading
Diffstat (limited to 'tag-emacs')
-rw-r--r-- | tag-emacs/emacs.d/init.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tag-emacs/emacs.d/init.el b/tag-emacs/emacs.d/init.el index d5231076..f8bed307 100644 --- a/tag-emacs/emacs.d/init.el +++ b/tag-emacs/emacs.d/init.el @@ -1171,6 +1171,7 @@ symbol, not word, as I need this for programming the most." (req-package typopunct :config (progn + (typopunct-change-language 'english t) (defconst typopunct-minus (decode-char 'ucs #x2212)) (defadvice typopunct-insert-typographical-dashes (around minus-or-pm activate) @@ -1239,7 +1240,6 @@ symbol, not word, as I need this for programming the most." (forward-char 1)) (t ad-do-it))))) :init (progn - (typopunct-change-language 'english t) (add-hook 'text-mode-hook #'typopunct-mode))) (req-package ap-functions |