# HG changeset patch # User Richard M. Stallman # Date 827591917 0 # Node ID caa2ed2023288169d192dd3f0bd0493a61404e31 # Parent 070f7cf3c1a651d5f6dec3e604c4aaed825a77e7 (custom-type-properties): Use custom-asis instead of as-is. (custom-asis): Set it to itself. diff -r 070f7cf3c1a6 -r caa2ed202328 lisp/=custom.el --- 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)))