diff --git a/global.org b/global.org index 2b817b4..e3ff6ce 100644 --- a/global.org +++ b/global.org @@ -463,11 +463,19 @@ #+END_SRC ** Spellcheck Use flyspell + #+BEGIN_SRC emacs-lisp - (require 'flyspell-lazy) - (flyspell-lazy-mode 1) - (add-hook 'text-mode-hook 'flyspell-mode) - (setq flyspell-use-meta-tab nil) + (require 'flyspell-lazy) + (flyspell-lazy-mode 1) + (add-hook 'text-mode-hook 'flyspell-mode) + (setq flyspell-use-meta-tab nil) + (defface flyspell-margin-incorrect + '((t nil)) + "flyspell-margin-incorrect" + :group 'flyspell) + (setq flyspell-before-incorrect-word-string + (propertize "." 'display `((margin left-margin) + ,(propertize "×" 'face 'flyspell-margin-incorrect)))) #+END_SRC ** Fringe treatment *** TODO try linum-relative