Mercurial > emacs
changeset 14866:caa2ed202328
(custom-type-properties): Use custom-asis instead of as-is.
(custom-asis): Set it to itself.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sat, 23 Mar 1996 14:38:37 +0000 |
parents | 070f7cf3c1a6 |
children | 4166cc2986ab |
files | lisp/=custom.el |
diffstat | 1 files changed, 7 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/=custom.el Sat Mar 23 05:14:50 1996 +0000 +++ b/lisp/=custom.el Sat Mar 23 14:38:37 1996 +0000 @@ -524,7 +524,7 @@ (default . nil)) ((type . const) (tag . "Def") - (default . as-is)))) + (default . custom-asis)))) (choice (type . default) ;; See `custom-match'. (query . custom-choice-query) @@ -632,16 +632,16 @@ (type . string)) "\n" ((tag . "Bold") - (default . as-is) + (default . custom-asis) (type . triggle)) " " ((tag . "Italic") - (default . as-is) + (default . custom-asis) (type . triggle)) " " ((tag . "Underline") (hidden . t) - (default . as-is) + (default . custom-asis) (type . triggle))) (default . (custom-face-lookup "default" "default" "default" nil nil nil)) @@ -733,6 +733,9 @@ (defconst custom-invalid '__invalid__ "Special value representing an invalid field.") +(defconst custom-asis 'custom-asis) +;; Bad, ugly, and horrible kludge. + (defun custom-property (custom property) "Extract from CUSTOM property PROPERTY." (let ((entry (assq property custom)))