projects
/
elisp
/
gnus.git-
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Import Oort Gnus v0.16.
[elisp/gnus.git-]
/
lisp
/
nndb.el
diff --git
a/lisp/nndb.el
b/lisp/nndb.el
index
6cc95c3
..
da53530
100644
(file)
--- a/
lisp/nndb.el
+++ b/
lisp/nndb.el
@@
-292,7
+292,7
@@
Optional LAST is ignored."
(nntp-send-buffer "^[23].*\n"))
(set-buffer nntp-server-buffer)
(nntp-send-buffer "^[23].*\n"))
(set-buffer nntp-server-buffer)
- (setq msg (buffer-substring (point-min) (point-max)))
+ (setq msg (buffer-string))
(or (string-match "^\\([0-9]+\\)" msg)
(error "nndb: %s" msg))
(setq art (substring msg (match-beginning 1) (match-end 1)))
(or (string-match "^\\([0-9]+\\)" msg)
(error "nndb: %s" msg))
(setq art (substring msg (match-beginning 1) (match-end 1)))
@@
-318,7
+318,7
@@
Optional LAST is ignored."
(deffoo nndb-status-message (&optional server)
"Return server status as a string."
(set-buffer nntp-server-buffer)
(deffoo nndb-status-message (&optional server)
"Return server status as a string."
(set-buffer nntp-server-buffer)
- (buffer-substring (point-min) (point-max)))
+ (buffer-string))
;; Import stuff from nntp
;; Import stuff from nntp