all repos — nixfiles @ 707417bafeb518ffd2fa3e107bff6db1340e8365

System and user configuration, managed by nix and home-manager

Emacs: Change typopunct language after loading

Alan Pearce
commit

707417bafeb518ffd2fa3e107bff6db1340e8365

parent

80377a1167450216e5fcf2f720d4cc29f35f5dc2

1 file changed, 1 insertion(+), 1 deletion(-)

jump to
M tag-emacs/emacs.d/init.eltag-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