diff options
Diffstat (limited to 'lisp/gnus/nnvirtual.el')
-rw-r--r-- | lisp/gnus/nnvirtual.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/gnus/nnvirtual.el b/lisp/gnus/nnvirtual.el index 7b192aa1d2e..e150cbf2b46 100644 --- a/lisp/gnus/nnvirtual.el +++ b/lisp/gnus/nnvirtual.el @@ -387,7 +387,7 @@ lines have the correct component server prefix." (looking-at "[^\t]*\t[^\t]*\t[^\t]*\t[^\t]*\t[^\t]*\t[^\t]*\t[^\t]*\t") (goto-char (match-end 0)) - (unless (search-forward "\t" (point-at-eol) 'move) + (unless (search-forward "\t" (line-end-position) 'move) (insert "\t")) ;; Remove any spaces at the beginning of the Xref field. @@ -403,8 +403,8 @@ lines have the correct component server prefix." ;; component server prefix. (save-restriction (narrow-to-region (point) - (or (search-forward "\t" (point-at-eol) t) - (point-at-eol))) + (or (search-forward "\t" (line-end-position) t) + (line-end-position))) (goto-char (point-min)) (when (re-search-forward "Xref: *[^\n:0-9 ]+ *" nil t) (replace-match "" t t)) |