comparison lisp/cus-edit.el @ 314:341dac730539 r21-0b55

Import from CVS: tag r21-0b55
author cvs
date Mon, 13 Aug 2007 10:44:22 +0200
parents 57709be46d1b
children fbbf69b4e8a7
comparison
equal deleted inserted replaced
313:2905de29931f 314:341dac730539
2286 (message "Creating face editor...") 2286 (message "Creating face editor...")
2287 (custom-load-widget widget) 2287 (custom-load-widget widget)
2288 (unless (widget-get widget :custom-form) 2288 (unless (widget-get widget :custom-form)
2289 (widget-put widget :custom-form custom-face-default-form)) 2289 (widget-put widget :custom-form custom-face-default-form))
2290 (let* ((symbol (widget-value widget)) 2290 (let* ((symbol (widget-value widget))
2291 (spec (or (get symbol 'saved-face) 2291 (spec (or (get symbol 'customized-face)
2292 (get symbol 'saved-face)
2292 (get symbol 'face-defface-spec) 2293 (get symbol 'face-defface-spec)
2293 ;; Attempt to construct it. 2294 ;; Attempt to construct it.
2294 (list (list t (face-custom-attributes-get 2295 (list (list t (face-custom-attributes-get
2295 symbol (selected-frame)))))) 2296 symbol (selected-frame))))))
2296 (form (widget-get widget :custom-form)) 2297 (form (widget-get widget :custom-form))