summary refs log tree commit diff stats
path: root/tag-emacs
diff options
context:
space:
mode:
authorAlan Pearce2016-09-20 20:17:46 +0200
committerAlan Pearce2016-09-20 20:17:46 +0200
commit5954f807e873ca6c20287e726f6353dd5b795eee (patch)
tree9fd4a3434fa04091a8d0264a88eee2c324af8523 /tag-emacs
parent0740f4cc679161eb80c519478839ce5333b16ca4 (diff)
downloaddotfiles-5954f807e873ca6c20287e726f6353dd5b795eee.tar.lz
dotfiles-5954f807e873ca6c20287e726f6353dd5b795eee.tar.zst
dotfiles-5954f807e873ca6c20287e726f6353dd5b795eee.zip
Emacs: Replace typo-mode with electric-quote-mode
Diffstat (limited to 'tag-emacs')
-rw-r--r--tag-emacs/emacs.d/init.org14
1 files changed, 3 insertions, 11 deletions
diff --git a/tag-emacs/emacs.d/init.org b/tag-emacs/emacs.d/init.org
index 47020f5..14ec4a1 100644
--- a/tag-emacs/emacs.d/init.org
+++ b/tag-emacs/emacs.d/init.org
@@ -2134,19 +2134,11 @@ from Sublime Text.  As always, there’s a mode for that.
 
 ** Typography
 
-I like using typographic symbols, but I don’t always remember (how) to
-type them.
+I like using typographic quotes, but they’re complicated to insert manually.
+them.
 
 #+BEGIN_SRC emacs-lisp
-  (use-package typo
-    :config (progn
-              (typo-global-mode 1)
-              (setq-default typo-language "English")
-              (add-hook 'text-mode-hook #'typo-mode)
-              (defun typo-mode-turn-off ()
-                (typo-mode -1))
-              (add-hook 'yaml-mode-hook #'typo-mode-turn-off)
-              (add-hook 'jinja2-mode-hook #'typo-mode-turn-off)))
+  (electric-quote-mode)
 #+END_SRC
 
 ** avy