vava / i3-emacs

i3 emacs integration

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pop-to-buffer-same-window emacs 26

ryanswilson59 opened this issue · comments

pop-to-buffer-same window does not work in emacs 26, this results in buffers that should be opened in place going all over the place. My current work around is to add
(defun pop-to-buffer-same-window (buffer &optional norecord) (let ((display-buffer-overriding-action '(nil . nil))) (pop-to-buffer buffer display-buffer--same-window-action norecord)))
to my .emacs.