diff options
| author | Andrea Corallo | 2022-08-17 23:31:41 +0200 |
|---|---|---|
| committer | Andrea Corallo | 2022-08-17 23:35:46 +0200 |
| commit | 3e042c80ce708b2d27da8ff62f19a5706f6d7fc6 (patch) | |
| tree | cfcc96e875913f6a79fd842a8dce7559c8d72bb8 | |
| parent | f0c5de78394cb3155cf51f5946f25610e2ab5d0b (diff) | |
| download | emacs-3e042c80ce708b2d27da8ff62f19a5706f6d7fc6.tar.gz emacs-3e042c80ce708b2d27da8ff62f19a5706f6d7fc6.zip | |
* lisp/emacs-lisp/bytecomp.el (byte-compile-log-1): Create buffer if necessary
| -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'." | |||
| 1161 | 1161 | ||
| 1162 | ;; Log something that isn't a warning. | 1162 | ;; Log something that isn't a warning. |
| 1163 | (defun byte-compile-log-1 (string) | 1163 | (defun byte-compile-log-1 (string) |
| 1164 | (with-current-buffer byte-compile-log-buffer | 1164 | (with-current-buffer (get-buffer-create byte-compile-log-buffer) |
| 1165 | (let ((inhibit-read-only t)) | 1165 | (let ((inhibit-read-only t)) |
| 1166 | (goto-char (point-max)) | 1166 | (goto-char (point-max)) |
| 1167 | (byte-compile-warning-prefix nil nil) | 1167 | (byte-compile-warning-prefix nil nil) |