Emacs: Replace typo-mode with electric-quote-mode
Alan Pearce alan.pearce@spotcap.com
Tue, 20 Sep 2016 20:17:46 +0200
1 files changed, 3 insertions(+), 11 deletions(-)
jump to
M tag-emacs/emacs.d/init.org → tag-emacs/emacs.d/init.org
@@ -2134,19 +2134,11 @@ #+END_SRC ** 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