From b043a43951bdf78ab5bd0fd866ead33ca73ad711 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Wed, 8 Jul 2015 14:28:13 +0200 Subject: Replace typo-mode with typopunct-mode Typopunct-mode works better with multiple-cursors. --- tag-emacs/emacs.d/Cask | 2 +- tag-emacs/emacs.d/init.el | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'tag-emacs') diff --git a/tag-emacs/emacs.d/Cask b/tag-emacs/emacs.d/Cask index 38c6f70..f4bb273 100644 --- a/tag-emacs/emacs.d/Cask +++ b/tag-emacs/emacs.d/Cask @@ -125,7 +125,7 @@ (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") diff --git a/tag-emacs/emacs.d/init.el b/tag-emacs/emacs.d/init.el index ba68236..da0786e 100644 --- a/tag-emacs/emacs.d/init.el +++ b/tag-emacs/emacs.d/init.el @@ -1171,10 +1171,10 @@ symbol, not word, as I need this for programming the most." :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) -- cgit 1.4.1