emacs-diffs
[Top][All Lists]
Advanced

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

Re: [Emacs-diffs] /srv/bzr/emacs/trunk r105705: Tweaks to display-buffer


From: Stefan Monnier
Subject: Re: [Emacs-diffs] /srv/bzr/emacs/trunk r105705: Tweaks to display-buffer default actions; remove same-window-* autoload forms.
Date: Wed, 14 Sep 2011 20:09:53 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

> I don't want the default list to be hard-coded in a function.  That is
> being willfully opaque about how the default works.  If it uses the
> action functions, there's no good reason not to have the action be a
> variable, rather than buried in a function.  It makes it more difficult
> for users to figure out where to begin tweaking.

The docstring explains how to tweak it.  And it's not any more opaque
than before.

> If you like, we can break up d-b-default-action into a defcustom
> d-b-base-action and a defvar d-b-fallback-action.

If you insist, but then d-b-fallback-action should be a defconst.


        Stefan



reply via email to

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