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

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

Re: Question about display-buffer-overriding-action


From: Emanuel Berg
Subject: Re: Question about display-buffer-overriding-action
Date: Sat, 26 Mar 2022 02:10:18 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

dal-blazej wrote:

>> (setq display-buffer-alist '((".*"
>> display-buffer-same-window)))
>
> It is bad practice to use `display-buffer-alist` with
> a catch-all regexp. Please use instead
> `display-buffer-base-action`.

Heh, bad practice indeed, check out the docstring for
`display-buffer'!

  For instance:

    (setq display-buffer-alist ’((".*" display-buffer-at-bottom)))

and that's even incorrect Lisp!

-- 
underground experts united
https://dataswamp.org/~incal




reply via email to

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