feature/popup: define window-sides-reversed #349

This commit is contained in:
Henrik Lissner 2018-01-12 19:13:01 -05:00
parent e6e1282346
commit 28ac52e4db
No known key found for this signature in database
GPG Key ID: 5F6C0EA160557395

View File

@ -416,6 +416,8 @@ prevent the popup(s) from messing up the UI (or vice versa)."
;;
(when (version< emacs-version "26")
(defvar window-sides-reversed nil)
(defun window--sides-reverse-on-frame-p (frame)
"Return non-nil when side windows should appear reversed on FRAME.
This uses some heuristics to guess the user's intentions when the