summary refs log tree commit diff stats
path: root/tag-emacs/emacs.d
diff options
context:
space:
mode:
authorAlan Pearce2015-07-11 09:11:51 +0200
committerAlan Pearce2015-07-11 09:11:51 +0200
commit707417bafeb518ffd2fa3e107bff6db1340e8365 (patch)
treea76e63ef9062cba49e632c634b410d12b168eebc /tag-emacs/emacs.d
parent80377a1167450216e5fcf2f720d4cc29f35f5dc2 (diff)
downloaddotfiles-707417bafeb518ffd2fa3e107bff6db1340e8365.tar.lz
dotfiles-707417bafeb518ffd2fa3e107bff6db1340e8365.tar.zst
dotfiles-707417bafeb518ffd2fa3e107bff6db1340e8365.zip
Emacs: Change typopunct language after loading
Diffstat (limited to 'tag-emacs/emacs.d')
-rw-r--r--tag-emacs/emacs.d/init.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/tag-emacs/emacs.d/init.el b/tag-emacs/emacs.d/init.el
index d523107..f8bed30 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