]> git.eshelyaron.com Git - emacs.git/commitdiff
(nntp-accept-process-output): Don't use point-max to get the buffer's size.
authorStefan Monnier <monnier@iro.umontreal.ca>
Tue, 11 Feb 2003 17:00:45 +0000 (17:00 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Tue, 11 Feb 2003 17:00:45 +0000 (17:00 +0000)
lisp/gnus/ChangeLog
lisp/gnus/nntp.el

index f5198d5eea12989657d3cc1aba2621f48cf88d62..66bab8d0f79c092950b9d39fd3ee2ff6b864c3ce 100644 (file)
@@ -1,3 +1,8 @@
+2003-02-11  Stefan Monnier  <monnier@cs.yale.edu>
+
+       * nntp.el (nntp-accept-process-output): Don't use point-max to get
+       the buffer's size.
+
 2003-01-31  Joe Buehler  <jhpb@draco.hekimian.com>
 
        * nnheader.el: Added cygwin to system-type comparisons.
index 9d5c600a080228948c96a9f3c56cef4232608a3a..0b939d1f40b5c8e673f4115e620255f67fb29ad4 100644 (file)
@@ -1051,7 +1051,7 @@ password contained in '~/.nntp-authinfo'."
   (save-excursion
     (set-buffer (or (nntp-find-connection-buffer nntp-server-buffer)
                    nntp-server-buffer))
-    (let ((len (/ (point-max) 1024))
+    (let ((len (/ (buffer-size) 1024))
          message-log-max)
       (unless (< len 10)
        (setq nntp-have-messaged t)