emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 3e042c80ce: * lisp/emacs-lisp/bytecomp.el (byte-compile-log-1): C


From: Andrea Corallo
Subject: master 3e042c80ce: * lisp/emacs-lisp/bytecomp.el (byte-compile-log-1): Create buffer if necessary
Date: Wed, 17 Aug 2022 17:36:09 -0400 (EDT)

branch: master
commit 3e042c80ce708b2d27da8ff62f19a5706f6d7fc6
Author: Andrea Corallo <akrl@sdf.org>
Commit: Andrea Corallo <akrl@sdf.org>

    * lisp/emacs-lisp/bytecomp.el (byte-compile-log-1): Create buffer if 
necessary
---
 lisp/emacs-lisp/bytecomp.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el
index 907015eb48..1115ce391d 100644
--- a/lisp/emacs-lisp/bytecomp.el
+++ b/lisp/emacs-lisp/bytecomp.el
@@ -1161,7 +1161,7 @@ message buffer `default-directory'."
 
 ;; Log something that isn't a warning.
 (defun byte-compile-log-1 (string)
-  (with-current-buffer byte-compile-log-buffer
+  (with-current-buffer (get-buffer-create byte-compile-log-buffer)
     (let ((inhibit-read-only t))
       (goto-char (point-max))
       (byte-compile-warning-prefix nil nil)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]