all repos — nixfiles @ b043a43951bdf78ab5bd0fd866ead33ca73ad711

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

Replace typo-mode with typopunct-mode

Typopunct-mode works better with multiple-cursors.
Alan Pearce alan.pearce@spotcap.com
Wed, 08 Jul 2015 14:28:13 +0200
commit

b043a43951bdf78ab5bd0fd866ead33ca73ad711

parent

390c49918d250d87b61f4d9dd9d7d48c9b3871af

2 files changed, 4 insertions(+), 4 deletions(-)

jump to
M tag-emacs/emacs.d/Casktag-emacs/emacs.d/Cask
@@ -125,7 +125,7 @@ (depends-on "spinner") (depends-on "tern")
 (depends-on "toml-mode")
 (depends-on "tup-mode")
-(depends-on "typo")
+(depends-on "typopunct")
 (depends-on "undo-tree")
 (depends-on "use-package")
 (depends-on "visual-regexp")
M tag-emacs/emacs.d/init.eltag-emacs/emacs.d/init.el
@@ -1171,10 +1171,10 @@ (req-package misc   :bind (("M-z" . zap-up-to-char)
          ("M-Z" . zap-to-char)))
 
-(req-package typo
+(req-package typopunct
   :init (progn
-          (typo-global-mode t)
-          (add-hook 'text-mode-hook 'typo-mode)))
+          (typopunct-change-language 'english t)
+          (add-hook 'text-mode-hook #'typopunct-mode)))
 
 (req-package ap-functions
   :commands (ap/remove-extra-cr)