aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/cus-edit.el6
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 @@
12002-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
12002-12-07 Markus Rost <rost@math.ohio-state.edu> 62002-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.
2557Also 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))))