Questions tagged [display-buffer]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
2answers
57 views

Dired: How to open file with ace-window while keeping focus on dired buffer?

I have this Elisp code that allows me to use ace-window to open a file in a selected window from Dired: (defun find-file-dired-ace-window () "Use ace window to select a window for opening a ...
2
votes
1answer
130 views

Using a predicate function in display-buffer-alist

I want to add a rule to display-buffer-alist, that splits the frame to the right when opening a .pdf file if and only if there is a corresponding .tex file in the same folder. According to the ...
2
votes
1answer
179 views

make `display-buffer` open buffer in new tab

The display-buffer function seems to be used quite heavily within Emacs. It has a lot of options to determine where to open a new buffer (a new window, a new frame, an existing window, etc). Emacs ...