diff options
author | Yuuki Harano <masm+github@masm11.me> | 2021-12-07 00:46:39 +0900 |
---|---|---|
committer | Yuuki Harano <masm+github@masm11.me> | 2021-12-07 00:46:39 +0900 |
commit | 0b6a632f99214e2d1e9e1d72b8f8b3a7f054d552 (patch) | |
tree | 82d356207a4843f8ff8313bd2cdfa7c4698b78a3 /lisp/emacs-lisp/warnings.el | |
parent | f68a0314e3ca522d1a86eae6cc909c1a5381ac3b (diff) | |
parent | 9eba6b966e330a38bdc3fef5e36b8a2904e72785 (diff) | |
download | emacs-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.el | 4 |
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)))) |