summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/warnings.el
diff options
context:
space:
mode:
authorYuuki Harano <masm+github@masm11.me>2021-12-07 00:46:39 +0900
committerYuuki Harano <masm+github@masm11.me>2021-12-07 00:46:39 +0900
commit0b6a632f99214e2d1e9e1d72b8f8b3a7f054d552 (patch)
tree82d356207a4843f8ff8313bd2cdfa7c4698b78a3 /lisp/emacs-lisp/warnings.el
parentf68a0314e3ca522d1a86eae6cc909c1a5381ac3b (diff)
parent9eba6b966e330a38bdc3fef5e36b8a2904e72785 (diff)
downloademacs-0b6a632f99214e2d1e9e1d72b8f8b3a7f054d552.tar.gz
emacs-0b6a632f99214e2d1e9e1d72b8f8b3a7f054d552.tar.bz2
emacs-0b6a632f99214e2d1e9e1d72b8f8b3a7f054d552.zip
Merge branch 'feature/pgtk' of git.sv.gnu.org:/srv/git/emacs into feature/pgtk
Diffstat (limited to 'lisp/emacs-lisp/warnings.el')
-rw-r--r--lisp/emacs-lisp/warnings.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/warnings.el b/lisp/emacs-lisp/warnings.el
index 36b275e2d3c..1d061364a03 100644
--- a/lisp/emacs-lisp/warnings.el
+++ b/lisp/emacs-lisp/warnings.el
@@ -307,7 +307,9 @@ entirely by setting `warning-suppress-types' or
'type 'warning-suppress-log-warning
'warning-type type))
(funcall newline)
- (when (and warning-fill-prefix (not (string-search "\n" message)))
+ (when (and warning-fill-prefix
+ (not (string-search "\n" message))
+ (not noninteractive))
(let ((fill-prefix warning-fill-prefix)
(fill-column warning-fill-column))
(fill-region start (point))))