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/cus-edit.el | |
| 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/cus-edit.el')
| -rw-r--r-- | lisp/cus-edit.el | 6 |
1 files changed, 5 insertions, 1 deletions
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)))) |