From 707417bafeb518ffd2fa3e107bff6db1340e8365 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sat, 11 Jul 2015 09:11:51 +0200 Subject: Emacs: Change typopunct language after loading --- tag-emacs/emacs.d/init.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tag-emacs/emacs.d/init.el') 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 -- cgit 1.4.1