diff options
| author | Dave Love | 2002-05-17 20:17:04 +0000 |
|---|---|---|
| committer | Dave Love | 2002-05-17 20:17:04 +0000 |
| commit | e1e529fadbe97ecaa1ae3cb4c4079ee2a66d0ce6 (patch) | |
| tree | 7104c8e6541d9cff4a1cf6b125eea39907c9bcfa | |
| parent | accf24cd22ddf28dfc1a8f34c5276ca5a821e37a (diff) | |
| download | emacs-e1e529fadbe97ecaa1ae3cb4c4079ee2a66d0ce6.tar.gz emacs-e1e529fadbe97ecaa1ae3cb4c4079ee2a66d0ce6.zip | |
Doc fixes.
(charset-list, generic-char-p, set-coding-priority): Make
obsolete.
(coding-system-get): Try to convert old-style symbol to keyword.
(define-charset): Purecopy strings in property list.
(define-coding-system): Purecopy docstring.
| -rw-r--r-- | lisp/international/mule.el | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/lisp/international/mule.el b/lisp/international/mule.el index 8a4d66c58ef..517162b6e09 100644 --- a/lisp/international/mule.el +++ b/lisp/international/mule.el | |||
| @@ -189,6 +189,13 @@ attribute." | |||
| 189 | (plist-put props :short-name (symbol-name name))) | 189 | (plist-put props :short-name (symbol-name name))) |
| 190 | (or (plist-get props :long-name) | 190 | (or (plist-get props :long-name) |
| 191 | (plist-put props :long-name (plist-get props :short-name))) | 191 | (plist-put props :long-name (plist-get props :short-name))) |
| 192 | ;; We can probably get a worthwhile amount in purespace. | ||
| 193 | (setq props | ||
| 194 | (mapcar (lambda (elt) | ||
| 195 | (if (stringp elt) | ||
| 196 | (purecopy elt) | ||
| 197 | elt)) | ||
| 198 | props)) | ||
| 192 | (setcdr (assq :plist attrs) props) | 199 | (setcdr (assq :plist attrs) props) |
| 193 | 200 | ||
| 194 | (apply 'define-charset-internal name (mapcar 'cdr attrs)))) | 201 | (apply 'define-charset-internal name (mapcar 'cdr attrs)))) |
| @@ -595,7 +602,8 @@ This attribute has a meaning only when `:coding-type' is `ccl'." | |||
| 595 | 602 | ||
| 596 | ;; Add :name and :docstring properties to PROPS. | 603 | ;; Add :name and :docstring properties to PROPS. |
| 597 | (setq props | 604 | (setq props |
| 598 | (cons :name (cons name (cons :docstring (cons docstring props))))) | 605 | (cons :name (cons name (cons :docstring (cons (purecopy docstring) |
| 606 | props))))) | ||
| 599 | (setcdr (assq :plist common-attrs) props) | 607 | (setcdr (assq :plist common-attrs) props) |
| 600 | 608 | ||
| 601 | (apply 'define-coding-system-internal | 609 | (apply 'define-coding-system-internal |