diff options
| author | Andreas Schwab | 2002-12-07 20:48:50 +0000 |
|---|---|---|
| committer | Andreas Schwab | 2002-12-07 20:48:50 +0000 |
| commit | 0bbe869a4e47fc98505b324f042b3a80295e027a (patch) | |
| tree | add745290f62a490cfebeeb2b3c57804edafb2fb /lisp | |
| parent | a75a5dd206a06d51fe6f4333aad281247989bd0d (diff) | |
| download | emacs-0bbe869a4e47fc98505b324f042b3a80295e027a.tar.gz emacs-0bbe869a4e47fc98505b324f042b3a80295e027a.zip | |
(custom-face-edit-fix-value): Change :reverse-video to :inverse-video.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/cus-edit.el | 6 |
2 files changed, 10 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 2201b586807..9e64025e056 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2002-12-07 Andreas Schwab <schwab@suse.de> | ||
| 2 | |||
| 3 | * cus-edit.el (custom-face-edit-fix-value): Change :reverse-video | ||
| 4 | to :inverse-video. | ||
| 5 | |||
| 1 | 2002-12-07 Markus Rost <rost@math.ohio-state.edu> | 6 | 2002-12-07 Markus Rost <rost@math.ohio-state.edu> |
| 2 | 7 | ||
| 3 | * wid-edit.el (define-widget number): Clarify doc and error | 8 | * wid-edit.el (define-widget number): Clarify doc and error |
diff --git a/lisp/cus-edit.el b/lisp/cus-edit.el index 67d25b2ea7a..c457d149d77 100644 --- a/lisp/cus-edit.el +++ b/lisp/cus-edit.el | |||
| @@ -2553,7 +2553,8 @@ to switch between two values." | |||
| 2553 | custom-face-attributes)) | 2553 | custom-face-attributes)) |
| 2554 | 2554 | ||
| 2555 | (defun custom-face-edit-fix-value (widget value) | 2555 | (defun custom-face-edit-fix-value (widget value) |
| 2556 | "Ignoring WIDGET, convert :bold and :italic in VALUE to new form." | 2556 | "Ignoring WIDGET, convert :bold and :italic in VALUE to new form. |
| 2557 | Also change :reverse-video to :inverse-video." | ||
| 2557 | (if (listp value) | 2558 | (if (listp value) |
| 2558 | (let (result) | 2559 | (let (result) |
| 2559 | (while value | 2560 | (while value |
| @@ -2565,6 +2566,9 @@ to switch between two values." | |||
| 2565 | ((eq key :bold) | 2566 | ((eq key :bold) |
| 2566 | (push :weight result) | 2567 | (push :weight result) |
| 2567 | (push (if val 'bold 'normal) result)) | 2568 | (push (if val 'bold 'normal) result)) |
| 2569 | ((eq key :reverse-video) | ||
| 2570 | (push :inverse-video result) | ||
| 2571 | (push val result)) | ||
| 2568 | (t | 2572 | (t |
| 2569 | (push key result) | 2573 | (push key result) |
| 2570 | (push val result)))) | 2574 | (push val result)))) |