Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Force to split window vertically if split sensibly failed due to thre…

…sold settings.
  • Loading branch information...
commit 00a67f8d13d1d636068ce742b53a181a44b49aff 1 parent a964f1e
@winfred-lu authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 vendor/etags-select.el
View
4 vendor/etags-select.el
@@ -318,7 +318,9 @@ to do."
(set-buffer-modified-p nil)
(setq buffer-read-only t)
(setq etags-select-opened-window (selected-window))
- (select-window (split-window-sensibly))
+ (if (one-window-p t)
+ (select-window (split-window-sensibly))
+ (select-window (split-window-vertically)))
(switch-to-buffer etags-select-buffer-name)
(etags-select-mode tagname)))))
Please sign in to comment.
Something went wrong with that request. Please try again.