latin-ltx.el: Add \Phi; fix bug#64212
* lisp/leim/quail/latin-ltx.el (greek letters): Fix regexp which was meant to avoid lowercase phi only.
This commit is contained in:
parent
4c01b0deee
commit
6c1c14b333
1 changed files with 2 additions and 1 deletions
|
@ -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 \\([^- ]+\\)\\'")
|
||||
|
|
Loading…
Add table
Reference in a new issue