From: Juri Linkov Date: Fri, 2 Apr 2021 08:25:05 +0000 (+0300) Subject: * lisp/progmodes/xref.el: Change xref-file-name-display and xref-match face. X-Git-Tag: emacs-28.0.90~3047 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a789d8a3a08879521b8630e7131cea039520e3de;p=emacs.git * 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): Inherit from 'match'. --- diff --git a/lisp/progmodes/xref.el b/lisp/progmodes/xref.el index ea52befec57..cada1f11092 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")