emacs-diffs
[Top][All Lists]
Advanced

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

master 0d0aad2: ; * lisp/leim/quail/latin-ltx.el: Fix regexp in last com


From: Stefan Kangas
Subject: master 0d0aad2: ; * lisp/leim/quail/latin-ltx.el: Fix regexp in last commit.
Date: Tue, 11 Aug 2020 02:57:18 -0400 (EDT)

branch: master
commit 0d0aad213f941efc0fa0ec032e37dc9c2b08c9fb
Author: Stefan Kangas <stefankangas@gmail.com>
Commit: Stefan Kangas <stefankangas@gmail.com>

    ; * lisp/leim/quail/latin-ltx.el: Fix regexp in last commit.
---
 lisp/leim/quail/latin-ltx.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/leim/quail/latin-ltx.el b/lisp/leim/quail/latin-ltx.el
index 6e25fc7..6a2508b 100644
--- a/lisp/leim/quail/latin-ltx.el
+++ b/lisp/leim/quail/latin-ltx.el
@@ -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 \\([^- ]+\\)\\'")



reply via email to

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