From: Andreas Schwab Date: Sun, 12 Oct 2003 17:42:08 +0000 (+0000) Subject: (locale-charset-language-names): X-Git-Tag: ttn-vms-21-2-B4~8564 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ecf80da8434cc11974c2e8a768ace97d2d20eedf;p=emacs.git (locale-charset-language-names): Simplify regex by removing unused grouping. --- 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")))