|
From: | Stefan Monnier |
Subject: | Re: [Emacs-diffs] /srv/bzr/emacs/trunk r105705: Tweaks to display-buffer default actions; remove same-window-* autoload forms. |
Date: | Sat, 10 Sep 2011 20:44:24 -0400 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
> -(defvar display-buffer-alist nil > +(defvar display-buffer-alist > + '(("\\`\\*\\(scheme\\|ielm\\|shell\\|\\(unsent \\)?mail\\|inferior-lisp\ > +\\|Customiz.*\\|info\\|rlogin-.*\\|telnet-.*\\|rsh-.*\\|gud-.*\\)\\*\\(<[0-9]+>\\)?" > + . (display-buffer-same-window))) This is wrong: Those settings come from the caller, so they should be passed in the ACTION arg to display-buffer, they should not be set in display-buffer-alist. display-buffer-alist has to default to nil. BTW it recently occurred to me that display-buffer-default-action should also default to nil, to make customization easier (Customize isn't good at recording "add this element at that place, and remove this other element"). Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |