From 5954f807e873ca6c20287e726f6353dd5b795eee Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Tue, 20 Sep 2016 20:17:46 +0200 Subject: Emacs: Replace typo-mode with electric-quote-mode --- tag-emacs/emacs.d/init.org | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) (limited to 'tag-emacs/emacs.d') diff --git a/tag-emacs/emacs.d/init.org b/tag-emacs/emacs.d/init.org index 47020f5d..14ec4a13 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 -- cgit 1.4.1