Skip to content

Commit

Permalink
prefer-other-window: try pop-up before other
Browse files Browse the repository at this point in the history
This is closer to stock behavior than what was before.

Fixes #120
  • Loading branch information
bmag committed Aug 9, 2018
1 parent c75d619 commit 8671201
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions window-purpose-switch.el
Original file line number Diff line number Diff line change
Expand Up @@ -97,10 +97,12 @@ it yourself.")
(force-same-window . (purpose-display-maybe-same-window))
(prefer-other-window . (purpose-display-reuse-window-buffer-other-window
purpose-display-reuse-window-purpose-other-window
purpose-display-maybe-other-window
;; only pops if `pop-up-frames' says so
purpose-display-maybe-pop-up-frame
;; only pops when sensible (`split-window-sensibly')
purpose-display-maybe-pop-up-window
purpose-display-maybe-other-window
purpose-display-maybe-other-frame
purpose-display-maybe-pop-up-frame
purpose-display-maybe-same-window))
(prefer-other-frame . (purpose-display-reuse-window-buffer-other-frame
purpose-display-reuse-window-purpose-other-frame
Expand Down

0 comments on commit 8671201

Please sign in to comment.