diff options
| author | Dmitry Gutov | 2024-10-03 22:07:58 +0300 |
|---|---|---|
| committer | Dmitry Gutov | 2024-10-03 22:07:58 +0300 |
| commit | 4d43fbe3f5782f2efe3b325df87b65da026ef212 (patch) | |
| tree | d4a0f2e90a25a66bf4067f3e83e484c9b196796e | |
| parent | a9e36fc3bf811853e152e7ff427a39272cff1a80 (diff) | |
| download | emacs-4d43fbe3f5782f2efe3b325df87b65da026ef212.tar.gz emacs-4d43fbe3f5782f2efe3b325df87b65da026ef212.zip | |
; Update a comment accordingly
| -rw-r--r-- | lisp/progmodes/xref.el | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lisp/progmodes/xref.el b/lisp/progmodes/xref.el index ff80040382c..b841dc1d179 100644 --- a/lisp/progmodes/xref.el +++ b/lisp/progmodes/xref.el | |||
| @@ -157,10 +157,10 @@ Line numbers start from 1 and columns from 0." | |||
| 157 | (save-excursion | 157 | (save-excursion |
| 158 | (goto-char (point-min)) | 158 | (goto-char (point-min)) |
| 159 | (ignore-errors | 159 | (ignore-errors |
| 160 | ;; xref location may be out of date; it may be past the | 160 | ;; The location shouldn't be be out of date, but we make |
| 161 | ;; end of the current file, or the file may have been | 161 | ;; provision for that anyway; in case it's past the end of |
| 162 | ;; deleted. Return a reasonable location; the user will | 162 | ;; the file, or it had been deleted. Then return an |
| 163 | ;; figure it out. | 163 | ;; approximation, the user will figure it out. |
| 164 | (beginning-of-line line) | 164 | (beginning-of-line line) |
| 165 | (forward-char column)) | 165 | (forward-char column)) |
| 166 | (point-marker)))))) | 166 | (point-marker)))))) |