From ecf80da8434cc11974c2e8a768ace97d2d20eedf Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Sun, 12 Oct 2003 17:42:08 +0000 Subject: [PATCH] (locale-charset-language-names): Simplify regex by removing unused grouping. --- lisp/international/mule-cmds.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/international/mule-cmds.el b/lisp/international/mule-cmds.el index 3a589f378e1..12b8508ded9 100644 --- a/lisp/international/mule-cmds.el +++ b/lisp/international/mule-cmds.el @@ -2169,7 +2169,7 @@ If the language name is nil, there is no corresponding language environment.") (".*8859[-_]?9\\>" . "Latin-5") (".*8859[-_]?14\\>" . "Latin-8") (".*8859[-_]?15\\>" . "Latin-9") - (".*utf\\(-?8\\)\\>" . "UTF-8") + (".*utf-?8\\>" . "UTF-8") ;; utf-8@euro exists, so put this last. (@euro really specifies ;; the currency, rather than the charset.) (".*@euro\\>" . "Latin-9"))) -- 2.11.4.GIT