emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/spell-fu 502d523b46 31/86: Fix unintended modification of


From: ELPA Syncer
Subject: [nongnu] elpa/spell-fu 502d523b46 31/86: Fix unintended modification of the standard syntax table
Date: Thu, 7 Jul 2022 12:03:40 -0400 (EDT)

branch: elpa/spell-fu
commit 502d523b467178218d7f38ede06ddb0d3660c702
Author: Campbell Barton <ideasman42@gmail.com>
Commit: Campbell Barton <ideasman42@gmail.com>

    Fix unintended modification of the standard syntax table
---
 spell-fu.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/spell-fu.el b/spell-fu.el
index ae8553444e..aa2b0c14bc 100644
--- a/spell-fu.el
+++ b/spell-fu.el
@@ -83,7 +83,7 @@ Set to 0.0 to highlight immediately (as part of syntax 
highlighting)."
 
 ;; See '-' as a word boundary \b, so 'full-screen' is detected as two words.
 (defvar-local spell-fu-syntax-table
-  (let ((table (standard-syntax-table)))
+  (let ((table (copy-syntax-table (standard-syntax-table))))
     (modify-syntax-entry ?- "-" table)
     table)
   "The syntax table to use when scanning words.")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]