bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#13594: Planning Emacs-24.4


From: martin rudalics
Subject: bug#13594: Planning Emacs-24.4
Date: Wed, 20 Nov 2013 08:34:04 +0100

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

It certainly would indicate the intentions more clearly.

> 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)))

Exactly.

martin





reply via email to

[Prev in Thread] Current Thread [Next in Thread]