summaryrefslogtreecommitdiff
path: root/emacs
diff options
context:
space:
mode:
authortslil clingman <>2020-05-17 16:23:48 -0700
committertslil clingman <>2020-05-17 16:23:48 -0700
commit3e2cfdd1063dbfa78244f26b72b36849156777cb (patch)
tree73b48e4e4bc7b95d63e5aef2b0d962f746311f7d /emacs
parent6ffbdb7326fda15689e12b30a794baaba391acf4 (diff)
Improved spell-fu regex for parsing words with apostrophes
Diffstat (limited to 'emacs')
-rw-r--r--emacs/inits/23-text-related.el4
1 files changed, 2 insertions, 2 deletions
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