From: Lars Ingebrigtsen Date: Tue, 11 Aug 2020 18:36:10 +0000 (+0200) Subject: Slight gnus-util clean-up X-Git-Tag: emacs-28.0.90~6679 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=86a326d2d8f526f2113e5c46da9c3dadf5260a3c;p=emacs.git Slight gnus-util clean-up * lisp/gnus/gnus-util.el (gnus-message-with-timestamp-1): messages-buffer is always defined. --- diff --git a/lisp/gnus/gnus-util.el b/lisp/gnus/gnus-util.el index abe546b8cb6..4876715ae6a 100644 --- a/lisp/gnus/gnus-util.el +++ b/lisp/gnus/gnus-util.el @@ -455,9 +455,7 @@ displayed in the echo area." (> message-log-max 0) (/= (length str) 0)) (setq time (current-time)) - (with-current-buffer (if (fboundp 'messages-buffer) - (messages-buffer) - (get-buffer-create "*Messages*")) + (with-current-buffer (messages-buffer) (goto-char (point-max)) (let ((inhibit-read-only t)) (insert ,timestamp str "\n")