From: Dmitry Gutov Date: Thu, 3 Oct 2024 19:07:58 +0000 (+0300) Subject: ; Update a comment accordingly X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d6bb7f84c3e75dd85a5bdcff254fac69ddc057a5;p=emacs.git ; Update a comment accordingly (cherry picked from commit 4d43fbe3f5782f2efe3b325df87b65da026ef212) --- diff --git a/lisp/progmodes/xref.el b/lisp/progmodes/xref.el index c0891598605..42a6befc907 100644 --- a/lisp/progmodes/xref.el +++ b/lisp/progmodes/xref.el @@ -157,10 +157,10 @@ Line numbers start from 1 and columns from 0." (save-excursion (goto-char (point-min)) (ignore-errors - ;; xref location may be out of date; it may be past the - ;; end of the current file, or the file may have been - ;; deleted. Return a reasonable location; the user will - ;; figure it out. + ;; The location shouldn't be be out of date, but we make + ;; provision for that anyway; in case it's past the end of + ;; the file, or it had been deleted. Then return an + ;; approximation, the user will figure it out. (beginning-of-line line) (forward-char column)) (point-marker))))))