1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-01 08:17:38 +00:00

; * lisp/progmodes/xref.el: Fix some typos

This commit is contained in:
Juanma Barranquero 2022-11-27 17:29:58 +01:00
parent 1cbf2655db
commit 7ee71ab6e5

View File

@ -692,8 +692,8 @@ and finally return the window."
(defun xref--show-location (location &optional select)
"Help `xref-show-xref' and `xref-goto-xref' do their job.
Go to LOCATION and if SELECT is non-nil select its window. If
SELECT is `quit', also quit the *xref* window."
Go to LOCATION and if SELECT is non-nil select its window.
If SELECT is `quit', also quit the *xref* window."
(condition-case err
(let* ((marker (xref-location-marker location))
(buf (marker-buffer marker))
@ -974,7 +974,8 @@ ITEMS is an xref item which " ; FIXME: Expand documentation.
(define-key map (kbd "M-,") #'xref-quit-and-pop-marker-stack)
map))
(declare-function outline-search-text-property "outline" (property &optional value bound move backward looking-at))
(declare-function outline-search-text-property "outline"
(property &optional value bound move backward looking-at))
(define-derived-mode xref--xref-buffer-mode special-mode "XREF"
"Mode for displaying cross-references."
@ -1003,7 +1004,7 @@ ITEMS is an xref item which " ; FIXME: Expand documentation.
(define-derived-mode xref--transient-buffer-mode
xref--xref-buffer-mode
"XREF Transient")
"XREF Transient.")
(defun xref--imenu-prev-index-position ()
"Move point to previous line in `xref' buffer.
@ -1417,7 +1418,7 @@ FETCHER is a function of no arguments that returns a list of xref
values. It must not depend on the current buffer or selected
window.
ALIST can include, but limited to, the following keys:
ALIST can include, but is not limited to, the following keys:
WINDOW for the window that was selected before the current
command was called.
@ -1818,7 +1819,7 @@ IGNORES is a list of glob patterns for files to ignore."
"xargs -0 rg <C> --null -nH --no-heading --no-messages -g '!*/' -e <R>"
)
(ugrep . "xargs -0 ugrep <C> --null -ns -e <R>"))
"Associative list mapping program identifiers to command templates.
"Association list mapping program identifiers to command templates.
Program identifier should be a symbol, named after the search program.