emacs-devel
[Top][All Lists]
Advanced

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

Re: display-buffer-overriding-action


From: Chong Yidong
Subject: Re: display-buffer-overriding-action
Date: Tue, 13 Sep 2011 22:13:58 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

Stefan Monnier <address@hidden> writes:

>>   defcustom d-b-override-alist
>>   Lisp ACTION
>>   defcustom d-b-alist
>>   defvar d-b-default-action
>
> I have no idea what you're trying to achieve with such a
> re-organisation.

If the majority of non-trivial calls to display-buffer are not going to
use the ACTION argument, that is a waste of the ACTION argument.  A
function argument is cleaner than let-binding around a display-buffer
call.  Forcing the non-trivial users of display-buffer to let-bind
d-b-overriding-action, instead of using the action argument, is a step
back towards the Emacs 23 situation (where one had to let-bind pop-up-*
special-display-*, etc. around such calls to display-buffer).



reply via email to

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