pop-to-buffer-same-window emacs 26
ryanswilson59 opened this issue · 0 comments
ryanswilson59 commented
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.