emacs-diffs
[Top][All Lists]
Advanced

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

master a789d8a: * lisp/progmodes/xref.el: Change xref-file-name-display


From: Juri Linkov
Subject: master a789d8a: * lisp/progmodes/xref.el: Change xref-file-name-display and xref-match face.
Date: Fri, 2 Apr 2021 04:25:31 -0400 (EDT)

branch: master
commit a789d8a3a08879521b8630e7131cea039520e3de
Author: Juri Linkov <juri@linkov.net>
Commit: Juri Linkov <juri@linkov.net>

    * lisp/progmodes/xref.el: Change xref-file-name-display and xref-match face.
    
    * lisp/progmodes/xref.el (xref-file-name-display): Change the default value
    to 'project-relative' (bug#47012).
    (xref-match)<face>: Inherit from 'match'.
---
 lisp/progmodes/xref.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lisp/progmodes/xref.el b/lisp/progmodes/xref.el
index ea52bef..cada1f1 100644
--- a/lisp/progmodes/xref.el
+++ b/lisp/progmodes/xref.el
@@ -103,7 +103,7 @@ This is typically the filename.")
 
 ;;;; Commonly needed location classes are defined here:
 
-(defcustom xref-file-name-display 'abs
+(defcustom xref-file-name-display 'project-relative
   "Style of file name display in *xref* buffers.
 
 If the value is the symbol `abs', the default, show the file names
@@ -521,7 +521,7 @@ If SELECT is non-nil, select the target window."
   "Face for displaying line numbers in the xref buffer."
   :version "27.1")
 
-(defface xref-match '((t :inherit highlight))
+(defface xref-match '((t :inherit match))
   "Face used to highlight matches in the xref buffer."
   :version "27.1")
 



reply via email to

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