Commit 5cabce21 authored by Richard M. Stallman's avatar Richard M. Stallman

(print-help-return-message): Handle lists in

special-display-regexps and same-window-regexps.  Also in
special-display-buffer-names and same-window-buffer-names
parent 3ed15d97
......@@ -220,13 +220,21 @@ If FUNCTION is nil, applies `message' to it, thus printing it."
;; it's no use mentioning a command to scroll, so don't.
(if (or (member (buffer-name standard-output)
special-display-buffer-names)
(assoc (buffer-name standard-output)
special-display-buffer-names)
(memq t (mapcar '(lambda (elt)
(if (consp elt)
(setq elt (car elt)))
(string-match elt (buffer-name standard-output)))
special-display-regexps)))
nil
(if (or (member (buffer-name standard-output)
same-window-buffer-names)
(assoc (buffer-name standard-output)
same-window-buffer-names)
(memq t (mapcar '(lambda (elt)
(if (consp elt)
(setq elt (car elt)))
(string-match elt (buffer-name standard-output)))
same-window-regexps)))
;; Say how to scroll this window.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment