mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-08 12:40:49 -08:00
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.
This commit is contained in:
parent
accf24cd22
commit
e1e529fadb
1 changed files with 9 additions and 1 deletions
|
|
@ -189,6 +189,13 @@ attribute."
|
|||
(plist-put props :short-name (symbol-name name)))
|
||||
(or (plist-get props :long-name)
|
||||
(plist-put props :long-name (plist-get props :short-name)))
|
||||
;; We can probably get a worthwhile amount in purespace.
|
||||
(setq props
|
||||
(mapcar (lambda (elt)
|
||||
(if (stringp elt)
|
||||
(purecopy elt)
|
||||
elt))
|
||||
props))
|
||||
(setcdr (assq :plist attrs) props)
|
||||
|
||||
(apply 'define-charset-internal name (mapcar 'cdr attrs))))
|
||||
|
|
@ -595,7 +602,8 @@ This attribute has a meaning only when `:coding-type' is `ccl'."
|
|||
|
||||
;; Add :name and :docstring properties to PROPS.
|
||||
(setq props
|
||||
(cons :name (cons name (cons :docstring (cons docstring props)))))
|
||||
(cons :name (cons name (cons :docstring (cons (purecopy docstring)
|
||||
props)))))
|
||||
(setcdr (assq :plist common-attrs) props)
|
||||
|
||||
(apply 'define-coding-system-internal
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue