# HG changeset patch # User Andreas Schwab # Date 1039294053 0 # Node ID d1efe2b99d8ace12c6dd6d69afd952f907521bfc # Parent 34e570bbdd1816c5bdf8de1d62a6722a4030013a (custom-face-edit-fix-value): Change :reverse-video to :inverse-video. diff -r 34e570bbdd18 -r d1efe2b99d8a lisp/cus-edit.el --- a/lisp/cus-edit.el Sat Dec 07 20:29:43 2002 +0000 +++ b/lisp/cus-edit.el Sat Dec 07 20:47:33 2002 +0000 @@ -2553,7 +2553,8 @@ custom-face-attributes)) (defun custom-face-edit-fix-value (widget value) - "Ignoring WIDGET, convert :bold and :italic in VALUE to new form." + "Ignoring WIDGET, convert :bold and :italic in VALUE to new form. +Also change :reverse-video to :inverse-video." (if (listp value) (let (result) (while value @@ -2565,6 +2566,9 @@ ((eq key :bold) (push :weight result) (push (if val 'bold 'normal) result)) + ((eq key :reverse-video) + (push :inverse-video result) + (push val result)) (t (push key result) (push val result))))