emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/vundo 24f99e54b2 17/58: Fix face definitions


From: ELPA Syncer
Subject: [elpa] externals/vundo 24f99e54b2 17/58: Fix face definitions
Date: Fri, 15 Apr 2022 12:58:11 -0400 (EDT)

branch: externals/vundo
commit 24f99e54b27efd61c6bba98711db3af545529d68
Author: Yuan Fu <casouri@gmail.com>
Commit: Yuan Fu <casouri@gmail.com>

    Fix face definitions
    
    * vundo.el (vundo-default, vundo-node, vundo-stem): Remove quote.
    (vundo-highlight): Add bold and color.
---
 vundo.el | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/vundo.el b/vundo.el
index 05fd2cf6fe..1f1f346714 100644
--- a/vundo.el
+++ b/vundo.el
@@ -78,16 +78,20 @@
   "Visual undo tree."
   :group 'undo)
 
-(defface vundo-default '((t . (:inherit 'default)))
+(defface vundo-default '((t . (:inherit default)))
   "Default face used in vundo buffer.")
 
-(defface vundo-node '((t . (:inherit 'vundo-default)))
+(defface vundo-node '((t . (:inherit vundo-default)))
   "Face for nodes in the undo tree.")
 
-(defface vundo-stem '((t . (:inherit 'vundo-default)))
+(defface vundo-stem '((t . (:inherit vundo-default)))
   "Face for stems between nodes in the undo tree.")
 
-(defface vundo-highlight '((t . (:inherit 'vundo-node)))
+(defface vundo-highlight
+  '((((background light)) .
+     (:inherit vundo-node :weight bold :foreground "red"))
+    (((background dark)) .
+     (:inherit vundo-node :weight bold :foreground "yellow")))
   "Face for the highlighted node in the undo tree.")
 
 (defcustom vundo-roll-back-on-quit t



reply via email to

[Prev in Thread] Current Thread [Next in Thread]