rougier / nano-emacs

GNU Emacs / N Λ N O - Emacs made simple
GNU General Public License v3.0
2.5k stars 191 forks source link

Different `display-buffer` behaviour #143

Closed gopar closed 1 year ago

gopar commented 1 year ago

When using nano, if you call display-buffer, (eg (display-buffer "hey.el"), the buffer will take up the whole window.

When not using nano, the buffer will split vertically side by side. Not sure what config changes in nano lead to this. (Rusty w/ emacs)

Any ideas? Thanks!

gopar commented 1 year ago

Ah figured it out, it was due to

;; No popup windows
(setq pop-up-windows nil)

in nano-defaults.el

Setting that to true fixed it.