Emacs: Change typopunct language after loading
Alan Pearce alan@alanpearce.co.uk
Sat, 11 Jul 2015 09:11:51 +0200
1 files changed, 1 insertions(+), 1 deletions(-)
jump to
M tag-emacs/emacs.d/init.el → tag-emacs/emacs.d/init.el
@@ -1171,6 +1171,7 @@ ("M-Z" . zap-to-char))) (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 @@ ((looking-at (regexp-opt (list (string omark) (string qmark)))) (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