aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2009-09-01 03:07:11 +0000
committerGlenn Morris2009-09-01 03:07:11 +0000
commit7a4abdd6a767518581665ab73209db3c10fc2b3a (patch)
treedfc6113e31cbd3670704679bb64483c9254564c0
parentd63eb0e7b460e6072b29fac59d6e743d556ba7fc (diff)
downloademacs-7a4abdd6a767518581665ab73209db3c10fc2b3a.tar.gz
emacs-7a4abdd6a767518581665ab73209db3c10fc2b3a.zip
(gnus-pick-mouse-pick-region): Use forward-line rather than goto-line.
-rw-r--r--lisp/gnus/ChangeLog5
-rw-r--r--lisp/gnus/gnus-salt.el8
2 files changed, 9 insertions, 4 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog
index 8af05ff545a..9f0cc223cfd 100644
--- a/lisp/gnus/ChangeLog
+++ b/lisp/gnus/ChangeLog
@@ -1,3 +1,8 @@
12009-09-01 Glenn Morris <rgm@gnu.org>
2
3 * gnus-salt.el (gnus-pick-mouse-pick-region): Use forward-line rather
4 than goto-line.
5
12009-08-29 Stefan Monnier <monnier@iro.umontreal.ca> 62009-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2 7
3 * spam.el (spam-ifile-path, spam-bogofilter-path, spam-sa-learn-path) 8 * spam.el (spam-ifile-path, spam-bogofilter-path, spam-sa-learn-path)
diff --git a/lisp/gnus/gnus-salt.el b/lisp/gnus/gnus-salt.el
index 1e1aed52b82..9b595a8e3ca 100644
--- a/lisp/gnus/gnus-salt.el
+++ b/lisp/gnus/gnus-salt.el
@@ -1,7 +1,7 @@
1;;; gnus-salt.el --- alternate summary mode interfaces for Gnus 1;;; gnus-salt.el --- alternate summary mode interfaces for Gnus
2 2
3;; Copyright (C) 1996, 1997, 1998, 1999, 2001, 2002, 2003, 2004, 3;; Copyright (C) 1996, 1997, 1998, 1999, 2001, 2002, 2003, 2004, 2005,
4;; 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. 4;; 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
5 5
6;; Author: Lars Magne Ingebrigtsen <larsi@gnus.org> 6;; Author: Lars Magne Ingebrigtsen <larsi@gnus.org>
7;; Keywords: news 7;; Keywords: news
@@ -273,9 +273,9 @@ This must be bound to a button-down mouse event."
273 (let* ((this-line (1+ (count-lines (point-min) end-point))) 273 (let* ((this-line (1+ (count-lines (point-min) end-point)))
274 (min-line (min this-line start-line)) 274 (min-line (min this-line start-line))
275 (max-line (max this-line start-line))) 275 (max-line (max this-line start-line)))
276 ;; Why not use `forward-line'? --Stef
277 (while (< min-line max-line) 276 (while (< min-line max-line)
278 (goto-line min-line) 277 (goto-char (point-min))
278 (forward-line (1- min-line))
279 (gnus-pick-article) 279 (gnus-pick-article)
280 (setq min-line (1+ min-line))) 280 (setq min-line (1+ min-line)))
281 (setq start-line this-line)) 281 (setq start-line this-line))