aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Nicolaescu2009-11-11 06:22:30 +0000
committerDan Nicolaescu2009-11-11 06:22:30 +0000
commitebfa10d32f11aeb2470d99757d013bc0cc4df7d4 (patch)
tree966e0fa14cdf414984701b18a0eabf6ccaa0aeb6
parent62591911330d5def728774a7ae3345204967810e (diff)
downloademacs-ebfa10d32f11aeb2470d99757d013bc0cc4df7d4.tar.gz
emacs-ebfa10d32f11aeb2470d99757d013bc0cc4df7d4.zip
* international/mule-cmds.el (register-input-method); Purecopy arguments.
(define-char-code-property): Correctly purecopy the table.
-rw-r--r--lisp/ChangeLog3
-rw-r--r--lisp/international/mule-cmds.el9
2 files changed, 9 insertions, 3 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index b2a0fb4f8f1..0bd7a705ea6 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,8 @@
12009-11-11 Dan Nicolaescu <dann@ics.uci.edu> 12009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
2 2
3 * international/mule-cmds.el (register-input-method); Purecopy arguments.
4 (define-char-code-property): Correctly purecopy the table.
5
3 * international/ccl.el (define-ccl-program): Purecopy the docstring. 6 * international/ccl.el (define-ccl-program): Purecopy the docstring.
4 7
5 * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter. 8 * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
diff --git a/lisp/international/mule-cmds.el b/lisp/international/mule-cmds.el
index 4b45bf6b378..e11aff4eb6e 100644
--- a/lisp/international/mule-cmds.el
+++ b/lisp/international/mule-cmds.el
@@ -1370,9 +1370,12 @@ these duplicated values to show some information about input methods
1370without loading the relevant Quail packages. 1370without loading the relevant Quail packages.
1371\n(fn INPUT-METHOD LANG-ENV ACTIVATE-FUNC TITLE DESCRIPTION &rest ARGS)" 1371\n(fn INPUT-METHOD LANG-ENV ACTIVATE-FUNC TITLE DESCRIPTION &rest ARGS)"
1372 (if (symbolp lang-env) 1372 (if (symbolp lang-env)
1373 (setq lang-env (symbol-name lang-env))) 1373 (setq lang-env (symbol-name lang-env))
1374 (setq lang-env (purecopy lang-env)))
1374 (if (symbolp input-method) 1375 (if (symbolp input-method)
1375 (setq input-method (symbol-name input-method))) 1376 (setq input-method (symbol-name input-method))
1377 (setq input-method (purecopy input-method)))
1378 (setq args (mapcar 'purecopy args))
1376 (let ((info (cons lang-env args)) 1379 (let ((info (cons lang-env args))
1377 (slot (assoc input-method input-method-alist))) 1380 (slot (assoc input-method input-method-alist)))
1378 (if slot 1381 (if slot
@@ -2746,7 +2749,7 @@ See also the documentation of `get-char-code-property' and
2746 (error "Invalid char-table: %s" table)) 2749 (error "Invalid char-table: %s" table))
2747 (or (stringp table) 2750 (or (stringp table)
2748 (error "Not a char-table nor a file name: %s" table))) 2751 (error "Not a char-table nor a file name: %s" table)))
2749 (if (stringp table) (purecopy table)) 2752 (if (stringp table) (setq table (purecopy table)))
2750 (let ((slot (assq name char-code-property-alist))) 2753 (let ((slot (assq name char-code-property-alist)))
2751 (if slot 2754 (if slot
2752 (setcdr slot table) 2755 (setcdr slot table)