diff options
| author | Per Abrahamsen | 2001-11-08 09:57:20 +0000 |
|---|---|---|
| committer | Per Abrahamsen | 2001-11-08 09:57:20 +0000 |
| commit | 61763509f2b1c8ab244d7941acb1337b9154d819 (patch) | |
| tree | c278e633e0644beb48b5447b685b11c472f4589b /lisp | |
| parent | ecf44d46d587310e0812235aaed0d3743015e0f6 (diff) | |
| download | emacs-61763509f2b1c8ab244d7941acb1337b9154d819.tar.gz emacs-61763509f2b1c8ab244d7941acb1337b9154d819.zip | |
2001-11-07 Per Abrahamsen <abraham@dina.kvl.dk>
* cus-edit.el (custom-face-value-create): Don't ignore the
`customized-face' attribute when finding the current face spec.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/cus-edit.el | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 73ab97b1666..fa34d37b9cf 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2001-11-07 Per Abrahamsen <abraham@dina.kvl.dk> | ||
| 2 | |||
| 3 | * cus-edit.el (custom-face-value-create): Don't ignore the | ||
| 4 | `customized-face' attribute when finding the current face spec. | ||
| 5 | |||
| 1 | 2001-11-07 Stefan Monnier <monnier@cs.yale.edu> | 6 | 2001-11-07 Stefan Monnier <monnier@cs.yale.edu> |
| 2 | 7 | ||
| 3 | * subr.el (with-local-quit): New macro. | 8 | * subr.el (with-local-quit): New macro. |
diff --git a/lisp/cus-edit.el b/lisp/cus-edit.el index 06135b190c0..65aa085c0ef 100644 --- a/lisp/cus-edit.el +++ b/lisp/cus-edit.el | |||
| @@ -2777,7 +2777,8 @@ SPEC must be a full face spec." | |||
| 2777 | (unless (widget-get widget :custom-form) | 2777 | (unless (widget-get widget :custom-form) |
| 2778 | (widget-put widget :custom-form custom-face-default-form)) | 2778 | (widget-put widget :custom-form custom-face-default-form)) |
| 2779 | (let* ((symbol (widget-value widget)) | 2779 | (let* ((symbol (widget-value widget)) |
| 2780 | (spec (or (get symbol 'saved-face) | 2780 | (spec (or (get symbol 'customized-face) |
| 2781 | (get symbol 'saved-face) | ||
| 2781 | (get symbol 'face-defface-spec) | 2782 | (get symbol 'face-defface-spec) |
| 2782 | ;; Attempt to construct it. | 2783 | ;; Attempt to construct it. |
| 2783 | (list (list t (custom-face-attributes-get | 2784 | (list (list t (custom-face-attributes-get |