]> git.eshelyaron.com Git - emacs.git/commitdiff
; * lisp/leim/quail/latin-ltx.el: Fix regexp in last commit.
authorStefan Kangas <stefankangas@gmail.com>
Tue, 11 Aug 2020 06:47:40 +0000 (08:47 +0200)
committerStefan Kangas <stefankangas@gmail.com>
Tue, 11 Aug 2020 06:49:47 +0000 (08:49 +0200)
lisp/leim/quail/latin-ltx.el

index 6e25fc72557a4d1a45048d0277c7bea328035143..6a2508ba31db643b563e417929bf4ee564bdf154 100644 (file)
@@ -244,7 +244,7 @@ system, including many technical ones.  Examples:
     ;; (which is \varphi) are reversed in `ucs-names', so we define
     ;; them manually.  Also ignore "GREEK SMALL LETTER EPSILON" and
     ;; add the correct value for \epsilon manually.
-    (unless (string-match-p "\\<PHI\\|GREEK SMALL LETTER EPSILON\\>" name)
+    (unless (string-match-p "\\<\\(?:PHI\\|GREEK SMALL LETTER EPSILON\\)\\>" name)
       (concat "\\" (funcall (if (match-end 1) #' capitalize #'downcase)
                             (match-string 2 name)))))
   "\\`GREEK \\(?:SMALL\\|CAPITA\\(L\\)\\) LETTER \\([^- ]+\\)\\'")