]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/progmodes/xref.el (xref--outdated-p): Fix broken docstring.
authorDmitry Gutov <dgutov@yandex.ru>
Mon, 28 Nov 2022 01:07:01 +0000 (03:07 +0200)
committerDmitry Gutov <dgutov@yandex.ru>
Mon, 28 Nov 2022 01:07:15 +0000 (03:07 +0200)
lisp/progmodes/xref.el

index 4bdaf58cc03b91099f0236ce3403dc32eb586fdf..1e4aa4eba524c7746a75c851f8695f458b533e46 100644 (file)
@@ -885,7 +885,12 @@ some of the references to the identifiers."
 
 (defun xref--outdated-p (item)
   "Check that the match location at current position is up-to-date.
-ITEMS is an xref item which " ; FIXME: Expand documentation.
+
+ITEM is an xref item which is expected to be produced by a search
+command and have summary that matches buffer contents near point.
+Depending on whether it's the first of the matches on the line,
+the summary should either start from bol, or only match after
+point."
   ;; FIXME: The check should most likely be a generic function instead
   ;; of the assumption that all matches' summaries relate to the
   ;; buffer text in a particular way.