1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-23 07:19:15 +00:00

(gnus-button-patch): Use forward-line rather than goto-line.

This commit is contained in:
Glenn Morris 2009-08-22 19:13:34 +00:00
parent 729eaddaca
commit 5dcc825f21
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2009-08-22 Glenn Morris <rgm@gnu.org>
* gnus-art.el (gnus-button-patch): Use forward-line rather than
goto-line.
2009-07-24 Glenn Morris <rgm@gnu.org>
* gnus-demon.el (gnus-demon-add-nntp-close-connection):

View File

@ -7908,7 +7908,8 @@ url is put as the `gnus-button-url' overlay property on the button."
(unless file
(error "Couldn't find library %s" library))
(find-file file)
(goto-line (string-to-number line))))
(goto-char (point-min))
(forward-line (1- (string-to-number line)))))
(defun gnus-button-handle-man (url)
"Fetch a man page."