mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
(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
This commit is contained in:
parent
3ed15d97b1
commit
5cabce210e
1 changed files with 8 additions and 0 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue