Merge remote-tracking branch 'ryuslash/master'
Conflicts: bw.el
This commit is contained in:
commit
296ccbd5e6
1 changed files with 10 additions and 0 deletions
10
bw.el
10
bw.el
|
@ -90,6 +90,16 @@
|
|||
(setq bw-last-shown-buffer buffer)
|
||||
win))
|
||||
|
||||
;;;###autoload
|
||||
(defun bw-display-in-other-window (buffer alist)
|
||||
"Show BUFFER in any window that is not the bottom window.
|
||||
|
||||
Discard ALIST."
|
||||
(let ((win (get-buffer-window buffer)))
|
||||
(when (window-parameter win 'bw-bottom)
|
||||
(setq win (next-window win 'no)))
|
||||
(set-window-buffer win buffer)))
|
||||
|
||||
(add-to-list 'window-persistent-parameters (cons 'bw-bottom t))
|
||||
|
||||
(defun bw-find-appropriate-buffer ()
|
||||
|
|
Loading…
Reference in a new issue