diff options
| author | Eli Zaretskii | 2019-07-25 19:32:25 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2019-07-25 19:32:25 +0300 |
| commit | 385416af6a3a1aa2e00a3aec3f0938ec44ca0f9c (patch) | |
| tree | 3fea9bbd9f2c4f3b7c5b087ba552df1d60082fc8 | |
| parent | 0cbdbac2bbc0ade799711cd70d3d59aee3db9cef (diff) | |
| download | emacs-385416af6a3a1aa2e00a3aec3f0938ec44ca0f9c.tar.gz emacs-385416af6a3a1aa2e00a3aec3f0938ec44ca0f9c.zip | |
Fix recent commit in xref.el
* lisp/progmodes/xref.el (xref-file-name-display): Doc fix.
* etc/NEWS: Fix the corresponding entry.
| -rw-r--r-- | etc/NEWS | 3 | ||||
| -rw-r--r-- | lisp/progmodes/xref.el | 6 |
2 files changed, 7 insertions, 2 deletions
| @@ -404,7 +404,8 @@ mode they are described in the manual "(emacs) Display". | |||
| 404 | --- | 404 | --- |
| 405 | ** New variable 'xref-file-name-display' controls the display of file | 405 | ** New variable 'xref-file-name-display' controls the display of file |
| 406 | names in xref buffers. | 406 | names in xref buffers. |
| 407 | ** New variable `file-size-function' controls how file sizes are displayed | 407 | |
| 408 | ** New variable `file-size-function' controls how file sizes are displayed. | ||
| 408 | 409 | ||
| 409 | 410 | ||
| 410 | * Editing Changes in Emacs 27.1 | 411 | * Editing Changes in Emacs 27.1 |
diff --git a/lisp/progmodes/xref.el b/lisp/progmodes/xref.el index 8dc4f3c4714..57d803894c8 100644 --- a/lisp/progmodes/xref.el +++ b/lisp/progmodes/xref.el | |||
| @@ -99,7 +99,11 @@ This is typically the filename.") | |||
| 99 | ;;;; Commonly needed location classes are defined here: | 99 | ;;;; Commonly needed location classes are defined here: |
| 100 | 100 | ||
| 101 | (defcustom xref-file-name-display 'abs | 101 | (defcustom xref-file-name-display 'abs |
| 102 | "Style of file name display in *xref* buffers." | 102 | "Style of file name display in *xref* buffers. |
| 103 | If the value is the symbol `abs', the default, show the file names | ||
| 104 | in their full absolute form. | ||
| 105 | If `nondirectory', show only the nondirectory (a.k.a. \"base name\") | ||
| 106 | part of the file name." | ||
| 103 | :type '(choice (const :tag "absolute file name" abs) | 107 | :type '(choice (const :tag "absolute file name" abs) |
| 104 | (const :tag "nondirectory file name" nondirectory)) | 108 | (const :tag "nondirectory file name" nondirectory)) |
| 105 | :version "27.1") | 109 | :version "27.1") |