From: Juanma Barranquero Date: Sun, 27 Nov 2022 16:29:58 +0000 (+0100) Subject: ; * lisp/progmodes/xref.el: Fix some typos X-Git-Tag: emacs-29.0.90~1452 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=7ee71ab6e52a75f527145879431385b73312c582;p=emacs.git ; * lisp/progmodes/xref.el: Fix some typos --- diff --git a/lisp/progmodes/xref.el b/lisp/progmodes/xref.el index f3ba60fc054..4bdaf58cc03 100644 --- a/lisp/progmodes/xref.el +++ b/lisp/progmodes/xref.el @@ -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 --null -nH --no-heading --no-messages -g '!*/' -e " ) (ugrep . "xargs -0 ugrep --null -ns -e ")) - "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.