emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] master 385416a 1/2: Fix recent commit in xref.el


From: Eli Zaretskii
Subject: [Emacs-diffs] master 385416a 1/2: Fix recent commit in xref.el
Date: Thu, 25 Jul 2019 12:33:49 -0400 (EDT)

branch: master
commit 385416af6a3a1aa2e00a3aec3f0938ec44ca0f9c
Author: Eli Zaretskii <address@hidden>
Commit: Eli Zaretskii <address@hidden>

    Fix recent commit in xref.el
    
    * lisp/progmodes/xref.el (xref-file-name-display): Doc fix.
    
    * etc/NEWS: Fix the corresponding entry.
---
 etc/NEWS               | 3 ++-
 lisp/progmodes/xref.el | 6 +++++-
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/etc/NEWS b/etc/NEWS
index c1cc216..f47cf07 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -404,7 +404,8 @@ mode they are described in the manual "(emacs) Display".
 ---
 ** New variable 'xref-file-name-display' controls the display of file
 names in xref buffers.
-** New variable `file-size-function' controls how file sizes are displayed
+
+** New variable `file-size-function' controls how file sizes are displayed.
 
 
 * Editing Changes in Emacs 27.1
diff --git a/lisp/progmodes/xref.el b/lisp/progmodes/xref.el
index 8dc4f3c..57d8038 100644
--- a/lisp/progmodes/xref.el
+++ b/lisp/progmodes/xref.el
@@ -99,7 +99,11 @@ This is typically the filename.")
 ;;;; Commonly needed location classes are defined here:
 
 (defcustom xref-file-name-display 'abs
-  "Style of file name display in *xref* buffers."
+  "Style of file name display in *xref* buffers.
+If the value is the symbol `abs', the default, show the file names
+in their full absolute form.
+If `nondirectory', show only the nondirectory (a.k.a. \"base name\")
+part of the file name."
   :type '(choice (const :tag "absolute file name" abs)
                  (const :tag "nondirectory file name" nondirectory))
   :version "27.1")



reply via email to

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