From: Lars Ingebrigtsen Date: Fri, 4 Sep 2020 13:46:19 +0000 (+0200) Subject: Fix up previous LAMDA->LAMBDA patch X-Git-Tag: emacs-28.0.90~6250 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=9e5db99d3183a849c67ef3dd1c7d3adb0aa3b4b7;p=emacs.git 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. --- diff --git a/lisp/international/mule-cmds.el b/lisp/international/mule-cmds.el index e49d1fa91e0..75d1c611e62 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 "\\" 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