diff options
| author | Glenn Morris | 2009-08-22 19:13:34 +0000 |
|---|---|---|
| committer | Glenn Morris | 2009-08-22 19:13:34 +0000 |
| commit | 5dcc825f21c290704e0bb205080e4f6e36bad69c (patch) | |
| tree | 31227447a2849172f89499208c1c87f38b4f2fa8 | |
| parent | 729eaddaca2d5f683dcd6d4a587f4db84636c486 (diff) | |
| download | emacs-5dcc825f21c290704e0bb205080e4f6e36bad69c.tar.gz emacs-5dcc825f21c290704e0bb205080e4f6e36bad69c.zip | |
(gnus-button-patch): Use forward-line rather than goto-line.
| -rw-r--r-- | lisp/gnus/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/gnus/gnus-art.el | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index cd5bcc4f4d3..24500b64744 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2009-08-22 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * gnus-art.el (gnus-button-patch): Use forward-line rather than | ||
| 4 | goto-line. | ||
| 5 | |||
| 1 | 2009-07-24 Glenn Morris <rgm@gnu.org> | 6 | 2009-07-24 Glenn Morris <rgm@gnu.org> |
| 2 | 7 | ||
| 3 | * gnus-demon.el (gnus-demon-add-nntp-close-connection): | 8 | * gnus-demon.el (gnus-demon-add-nntp-close-connection): |
diff --git a/lisp/gnus/gnus-art.el b/lisp/gnus/gnus-art.el index 09f481763df..cedfff0421c 100644 --- a/lisp/gnus/gnus-art.el +++ b/lisp/gnus/gnus-art.el | |||
| @@ -7908,7 +7908,8 @@ url is put as the `gnus-button-url' overlay property on the button." | |||
| 7908 | (unless file | 7908 | (unless file |
| 7909 | (error "Couldn't find library %s" library)) | 7909 | (error "Couldn't find library %s" library)) |
| 7910 | (find-file file) | 7910 | (find-file file) |
| 7911 | (goto-line (string-to-number line)))) | 7911 | (goto-char (point-min)) |
| 7912 | (forward-line (1- (string-to-number line))))) | ||
| 7912 | 7913 | ||
| 7913 | (defun gnus-button-handle-man (url) | 7914 | (defun gnus-button-handle-man (url) |
| 7914 | "Fetch a man page." | 7915 | "Fetch a man page." |