diff options
author | Andrea Corallo <akrl@sdf.org> | 2022-08-17 23:31:41 +0200 |
---|---|---|
committer | Andrea Corallo <akrl@sdf.org> | 2022-08-17 23:35:46 +0200 |
commit | 3e042c80ce708b2d27da8ff62f19a5706f6d7fc6 (patch) | |
tree | cfcc96e875913f6a79fd842a8dce7559c8d72bb8 /lisp/emacs-lisp/bytecomp.el | |
parent | f0c5de78394cb3155cf51f5946f25610e2ab5d0b (diff) | |
download | emacs-3e042c80ce708b2d27da8ff62f19a5706f6d7fc6.tar.gz |
* lisp/emacs-lisp/bytecomp.el (byte-compile-log-1): Create buffer if necessary
Diffstat (limited to 'lisp/emacs-lisp/bytecomp.el')
-rw-r--r-- | lisp/emacs-lisp/bytecomp.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el index 907015eb48e..1115ce391d4 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) |