]> git.eshelyaron.com Git - emacs.git/commitdiff
(locale-charset-language-names):
authorAndreas Schwab <schwab@suse.de>
Sun, 12 Oct 2003 17:42:08 +0000 (17:42 +0000)
committerAndreas Schwab <schwab@suse.de>
Sun, 12 Oct 2003 17:42:08 +0000 (17:42 +0000)
Simplify regex by removing unused grouping.

lisp/international/mule-cmds.el

index 3a589f378e108c154def075b1fc5263a9e6c0976..12b8508ded9f4206ef3f95e5139e6d329c40d234 100644 (file)
@@ -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")))