From: Stefan Monnier Date: Tue, 11 Feb 2003 17:00:45 +0000 (+0000) Subject: (nntp-accept-process-output): Don't use point-max to get the buffer's size. X-Git-Tag: ttn-vms-21-2-B4~11241 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c7279817636a6a5c66d2b80d26c443e0ed3c062c;p=emacs.git (nntp-accept-process-output): Don't use point-max to get the buffer's size. --- diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index f5198d5eea1..66bab8d0f79 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog @@ -1,3 +1,8 @@ +2003-02-11 Stefan Monnier + + * nntp.el (nntp-accept-process-output): Don't use point-max to get + the buffer's size. + 2003-01-31 Joe Buehler * nnheader.el: Added cygwin to system-type comparisons. diff --git a/lisp/gnus/nntp.el b/lisp/gnus/nntp.el index 9d5c600a080..0b939d1f40b 100644 --- a/lisp/gnus/nntp.el +++ b/lisp/gnus/nntp.el @@ -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)