diff options
| -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)))))) |