Mercurial > emacs
diff lisp/gnus/gnus-art.el @ 104539:7d4a9e8bcfb8
(gnus-button-patch): Use forward-line rather than goto-line.
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Sat, 22 Aug 2009 19:13:34 +0000 |
parents | a86fc864e9fc |
children | b99b3dda298b |
line wrap: on
line diff
--- a/lisp/gnus/gnus-art.el Sat Aug 22 10:26:14 2009 +0000 +++ b/lisp/gnus/gnus-art.el Sat Aug 22 19:13:34 2009 +0000 @@ -7908,7 +7908,8 @@ (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."