]> git.eshelyaron.com Git - emacs.git/commitdiff
latin-ltx.el: Add \Phi; fix bug#64212
authorStefan Monnier <monnier@iro.umontreal.ca>
Thu, 22 Jun 2023 17:11:03 +0000 (13:11 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Thu, 22 Jun 2023 17:11:03 +0000 (13:11 -0400)
* lisp/leim/quail/latin-ltx.el (greek letters): Fix regexp which was
meant to avoid lowercase phi only.

lisp/leim/quail/latin-ltx.el

index 21a01c85737e7d822ab6ccf26cb6d8e2987655ca..9be3d72250489ff343c86c515b91c9ddf36565e8 100644 (file)
@@ -244,7 +244,8 @@ 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 "\\<GREEK SMALL LETTER \\(?:EPSILON\\|PHI\\)\\>"
+                            name)
       (concat "\\" (funcall (if (match-end 1) #' capitalize #'downcase)
                             (match-string 2 name)))))
   "\\`GREEK \\(?:SMALL\\|CAPITA\\(L\\)\\) LETTER \\([^- ]+\\)\\'")