Subject: bug#13594: Planning Emacs-24.4

From: Juri Linkov <[email-masked]>
Date: Wed, 20 Nov 2013 02:55:21 +0200

> It would have just meant that a function like `display-buffer-no-window'
> would have to return 'fail in order to confirm that it is aware of the
> semantics of a thing like no-display-ok.

Do you think `display-buffer-no-window' should return 'fail instead of t
when the user overrides the default action?

Then it could be defined as:

(defun display-buffer-no-window (buffer alist)
  (when (cdr (assq 'allow-no-window alist))
    'fail))

And the user customization:

(add-to-list 'display-buffer-alist '("\\*compilation\\*" display-buffer-no-window (nil)))