nex3 / perspective-el

Perspectives for Emacs.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Variable display-buffer-reuse-frames in the README is obsolete

RJSent opened this issue · comments

In the "Some Musings on Emacs Windows Layouts" section of the README, there is sample code meant to adjust default behavior in Emacs. As of Emacs 24.3, display-buffer-reuse-frames is obsolete and would not have an effect.

The code in question

(setq display-buffer-alist
      '((".*" (display-buffer-reuse-window display-buffer-same-window))))

(setq display-buffer-reuse-frames t)         ; reuse windows in other frames
(setq even-window-sizes nil)                 ; display-buffer: avoid resizing

The help page for display-buffer-reuse-frames suggests using a reusable-frames alist entry in display-buffer-alist instead.

commented

Thanks! Example updated in 697d95f.