summary refs log tree commit diff stats
path: root/tag-emacs
diff options
context:
space:
mode:
authorAlan Pearce2015-07-08 14:28:13 +0200
committerAlan Pearce2015-07-08 14:28:13 +0200
commitb043a43951bdf78ab5bd0fd866ead33ca73ad711 (patch)
tree69017aca92217be58f1f3660d779eb31a6d4129f /tag-emacs
parent390c49918d250d87b61f4d9dd9d7d48c9b3871af (diff)
downloaddotfiles-b043a43951bdf78ab5bd0fd866ead33ca73ad711.tar.lz
dotfiles-b043a43951bdf78ab5bd0fd866ead33ca73ad711.tar.zst
dotfiles-b043a43951bdf78ab5bd0fd866ead33ca73ad711.zip
Replace typo-mode with typopunct-mode
Typopunct-mode works better with multiple-cursors.
Diffstat (limited to 'tag-emacs')
-rw-r--r--tag-emacs/emacs.d/Cask2
-rw-r--r--tag-emacs/emacs.d/init.el6
2 files changed, 4 insertions, 4 deletions
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)