aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2019-06-16 17:34:27 -0700
committerGlenn Morris2019-06-16 17:37:21 -0700
commita95d614c96fbe224babc2a17d3f175ab26da003e (patch)
tree2cdcbe1a3b2b058e71ab6bb8662fe212dcbac816
parent9d702b4cd8da1c1907b02869067a50933716631b (diff)
downloademacs-a95d614c96fbe224babc2a17d3f175ab26da003e.tar.gz
emacs-a95d614c96fbe224babc2a17d3f175ab26da003e.zip
Tweak how byte-compile-print-syms fills
* lisp/emacs-lisp/bytecomp.el (byte-compile-print-syms): Use fill-column from the compile log buffer.
-rw-r--r--lisp/emacs-lisp/bytecomp.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el
index 13d563bde91..b917b713c06 100644
--- a/lisp/emacs-lisp/bytecomp.el
+++ b/lisp/emacs-lisp/bytecomp.el
@@ -1601,7 +1601,10 @@ extra args."
1601 (while syms 1601 (while syms
1602 (setq s (symbol-name (pop syms)) 1602 (setq s (symbol-name (pop syms))
1603 L (+ L (length s) 2)) 1603 L (+ L (length s) 2))
1604 (if (< L (1- fill-column)) 1604 (if (< L (1- (buffer-local-value 'fill-column
1605 (or (get-buffer
1606 byte-compile-log-buffer)
1607 (current-buffer)))))
1605 (setq str (concat str " " s (and syms ","))) 1608 (setq str (concat str " " s (and syms ",")))
1606 (setq str (concat str "\n " s (and syms ",")) 1609 (setq str (concat str "\n " s (and syms ","))
1607 L (+ (length s) 4)))) 1610 L (+ (length s) 4))))