; s/class/type

This commit is contained in:
Dmitry Gutov 2021-10-01 03:05:56 +03:00
parent 86da812afb
commit 205eb7f801

View file

@ -99,7 +99,7 @@ When it is a file name, it should be the \"expanded\" version.")
"Return the length of the match." "Return the length of the match."
nil) nil)
;;;; Commonly needed location classes are defined here: ;;;; Commonly needed location types are defined here:
(defcustom xref-file-name-display 'project-relative (defcustom xref-file-name-display 'project-relative
"Style of file name display in *xref* buffers. "Style of file name display in *xref* buffers.
@ -999,7 +999,7 @@ to that style. Otherwise it is returned unchanged."
;; `tags-apropos-additional-actions', is pretty lax. But we don't ;; `tags-apropos-additional-actions', is pretty lax. But we don't
;; want to use `file-exists-p' for performance reasons. If this ;; want to use `file-exists-p' for performance reasons. If this
;; ever turns out to be a problem, some other alternatives are to ;; ever turns out to be a problem, some other alternatives are to
;; either have every location class which uses file names format the ;; either have every location type which uses file names format the
;; values themselves (e.g. by piping through some public function), ;; values themselves (e.g. by piping through some public function),
;; or adding a new accessor to locations, like GROUP-TYPE. ;; or adding a new accessor to locations, like GROUP-TYPE.
(cl-ecase xref-file-name-display (cl-ecase xref-file-name-display