Mercurial > emacs
diff lisp/international/mule.el @ 105965:3f64b8380468
* textmodes/ispell.el (ispell-skip-region-alist):
* textmodes/css-mode.el (auto-mode-alist):
* progmodes/compile.el (auto-mode-alist):
* international/mule.el (ctext-non-standard-encodings-alist)
(ctext-non-standard-encodings-regexp):
* simple.el (shell-command-switch, text-read-only):
* replace.el (occur-mode-map):
* paths.el (rmail-file-name):
* jka-cmpr-hook.el (jka-compr-build-file-regexp):
* find-file.el (ff-special-constructs):
* files.el (file-name-handler-alist):
* composite.el: Purecopy strings.
author | Dan Nicolaescu <dann@ics.uci.edu> |
---|---|
date | Thu, 12 Nov 2009 06:55:39 +0000 |
parents | d319f1aaff7c |
children | f6c1ac558c84 |
line wrap: on
line diff
--- a/lisp/international/mule.el Thu Nov 12 06:48:03 2009 +0000 +++ b/lisp/international/mule.el Thu Nov 12 06:55:39 2009 +0000 @@ -1404,10 +1404,11 @@ ;;; X selections (defvar ctext-non-standard-encodings-alist + (mapcar 'purecopy '(("big5-0" big5 2 big5) ("ISO8859-14" iso-8859-14 1 latin-iso8859-14) ("ISO8859-15" iso-8859-15 1 latin-iso8859-15) - ("gbk-0" gbk 2 chinese-gbk)) + ("gbk-0" gbk 2 chinese-gbk))) "Alist of non-standard encoding names vs the corresponding usages in CTEXT. It controls how extended segments of a compound text are handled @@ -1440,13 +1441,14 @@ `ctext-non-standard-encodings-alist' (which see).") (defvar ctext-non-standard-encodings-regexp + (purecopy (string-to-multibyte (concat ;; For non-standard encodings. "\\(\e%/[0-4][\200-\377][\200-\377]\\([^\002]+\\)\002\\)" "\\|" ;; For UTF-8 encoding. - "\\(\e%G[^\e]*\e%@\\)"))) + "\\(\e%G[^\e]*\e%@\\)")))) ;; Functions to support "Non-Standard Character Set Encodings" defined ;; by the COMPOUND-TEXT spec. They also support "The UTF-8 encoding"