Mercurial > emacs
comparison lisp/faces.el @ 26657:b5c0d55411ad
(set-face-documentation): Purecopy STRING.
author | Dave Love <fx@gnu.org> |
---|---|
date | Tue, 30 Nov 1999 13:55:34 +0000 |
parents | f9c908630f61 |
children | a0674327c167 |
comparison
equal
deleted
inserted
replaced
26656:f055a24e3e5b | 26657:b5c0d55411ad |
---|---|
406 (get face 'face-documentation)) | 406 (get face 'face-documentation)) |
407 | 407 |
408 | 408 |
409 (defun set-face-documentation (face string) | 409 (defun set-face-documentation (face string) |
410 "Set the documentation string for FACE to STRING." | 410 "Set the documentation string for FACE to STRING." |
411 (put face 'face-documentation string)) | 411 ;; The text doesn't get into DOC. |
412 (put face 'face-documentation (purecopy string))) | |
412 | 413 |
413 | 414 |
414 (defalias 'face-doc-string 'face-documentation) | 415 (defalias 'face-doc-string 'face-documentation) |
415 (defalias 'set-face-doc-string 'set-face-documentation) | 416 (defalias 'set-face-doc-string 'set-face-documentation) |
416 | 417 |