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

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

[nongnu] elpa/spell-fu a7db587471 36/86: Remove redundant escaping


From: ELPA Syncer
Subject: [nongnu] elpa/spell-fu a7db587471 36/86: Remove redundant escaping
Date: Thu, 7 Jul 2022 12:03:41 -0400 (EDT)

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

    Remove redundant escaping
---
 spell-fu.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/spell-fu.el b/spell-fu.el
index 2732348206..f5e5a3d612 100644
--- a/spell-fu.el
+++ b/spell-fu.el
@@ -277,7 +277,7 @@ Argument WORDS-FILE the file to write the word list into."
             (when has-dict-personal
               (insert-file-contents personal-words-file)
               (goto-char (point-min))
-              (when (looking-at "personal_ws\-")
+              (when (looking-at "personal_ws-")
                 (delete-region (line-beginning-position) (1+ 
(line-end-position))))
               (goto-char (point-max))
               (unless (eq ?\n (char-after))
@@ -831,7 +831,7 @@ Return t when the action succeeded."
                     ;; Match a line like: personal_ws-1.1 en 66
                     (looking-at
                       (concat
-                        "personal_ws\\-[[:digit:]\\.]+"
+                        "personal_ws-[[:digit:]\\.]+"
                         "[[:blank:]]+"
                         "[A-Za-z_]+"
                         "[[:blank:]]+"



reply via email to

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