[Top][All Lists]

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

master 9e5db99: Fix up previous LAMDA->LAMBDA patch

From: Lars Ingebrigtsen
Subject: master 9e5db99: Fix up previous LAMDA->LAMBDA patch
Date: Fri, 4 Sep 2020 09:46:28 -0400 (EDT)

branch: master
commit 9e5db99d3183a849c67ef3dd1c7d3adb0aa3b4b7
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    Fix up previous LAMDA->LAMBDA patch
    * lisp/international/mule-cmds.el (ucs-names): Ensure we're only
    matching LAMDA as a word.  Noted by Stefan Monnier.
 lisp/international/mule-cmds.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/international/mule-cmds.el b/lisp/international/mule-cmds.el
index e49d1fa..75d1c61 100644
--- a/lisp/international/mule-cmds.el
+++ b/lisp/international/mule-cmds.el
@@ -3017,7 +3017,7 @@ on encoding."
                 ;; spelling, but others don't.  Add the traditional
                 ;; spelling for more convenient completion.
                 (when (and (not old-name) new-name
-                           (string-match "LAMDA" new-name))
+                           (string-match "\\<LAMDA\\>" new-name))
                   (puthash (replace-match "LAMBDA" t t new-name) c names))
                (setq c (1+ c))))))
         ;; Special case for "BELL" which is apparently the only char which

reply via email to

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