From 3e2cfdd1063dbfa78244f26b72b36849156777cb Mon Sep 17 00:00:00 2001 From: tslil clingman <> Date: Sun, 17 May 2020 16:23:48 -0700 Subject: Improved spell-fu regex for parsing words with apostrophes --- emacs/inits/23-text-related.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'emacs') diff --git a/emacs/inits/23-text-related.el b/emacs/inits/23-text-related.el index 7cfb4df..8aac63e 100644 --- a/emacs/inits/23-text-related.el +++ b/emacs/inits/23-text-related.el @@ -1,4 +1,4 @@ -;; Time-stamp: <2020-04-23 13:54:24 (tslil@bison)> +;; Time-stamp: <2020-05-17 15:35:55 (tslil@bison)> ;; ----------------------------------------------------------------------------- ;; Spelling @@ -11,7 +11,7 @@ ;; The default was this "\\b\\([[:alpha:]][[:alpha:]']*\\)\\b", but that ;; didn't play well with ``LaTeX's quoting system''. - (setq-default spell-fu-word-regexp "\\([[:alpha:]]+\\('[[:alpha:]]\\)*\\)" + (setq-default spell-fu-word-regexp "\\([[:alpha:]]+\\('[[:alpha:]]+\\)*\\)" spell-fu-faces-exclude '(font-latex-math-face font-latex-sedate-face font-lock-keyword-face -- cgit v1.2.3