# HG changeset patch # User Andreas Schwab # Date 1065980528 0 # Node ID 0c1a11740fda3b98fc5787d5aa396308e310db50 # Parent 749e8f353e552c601d3a8bce17c5742c9ec8cf10 (locale-charset-language-names): Simplify regex by removing unused grouping. diff -r 749e8f353e55 -r 0c1a11740fda lisp/international/mule-cmds.el --- a/lisp/international/mule-cmds.el Sun Oct 12 15:30:22 2003 +0000 +++ b/lisp/international/mule-cmds.el Sun Oct 12 17:42:08 2003 +0000 @@ -2169,7 +2169,7 @@ (".*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")))