changeset 87151:f6f228f943b2

Fix breakage from last change.
author Deepak Goel <deego@gnufans.org>
date Thu, 06 Dec 2007 20:25:35 +0000
parents 683f507781d5
children b047537fbf8a
files lisp/gnus/ChangeLog lisp/gnus/gnus-start.el
diffstat 2 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/gnus/ChangeLog	Thu Dec 06 20:06:24 2007 +0000
+++ b/lisp/gnus/ChangeLog	Thu Dec 06 20:25:35 2007 +0000
@@ -1,3 +1,7 @@
+2007-12-06  D. Goel  <deego3@gmail.com>
+
+	* gnus-start.el (gnus-load): Fix breakage from last change.
+
 2007-12-06  Reiner Steib  <Reiner.Steib@gmx.de>
 
 	* gnus-start.el (gnus-load): Rename local variable to avoid confusion.
--- a/lisp/gnus/gnus-start.el	Thu Dec 06 20:06:24 2007 +0000
+++ b/lisp/gnus/gnus-start.el	Thu Dec 06 20:25:35 2007 +0000
@@ -2393,7 +2393,7 @@
 	(error
 	 (unless (eq (car type) 'end-of-file)
 	   (let ((errmsg (format "Error in %s line %d" file
-				 (count-lines (point-min (point))))))
+				 (count-lines (point-min) (point)))))
 	     (ding)
 	     (unless (gnus-yes-or-no-p (concat errmsg "; continue? "))
 	       (error "%s" errmsg)))))))))