Selaa lähdekoodia

org.el (org-fast-tag-selection): Fix window splitting

* org.el (org-fast-tag-selection): Fix window splitting.

This is basically the same fix than the one listed here:
http://article.gmane.org/gmane.emacs.orgmode/34802

TINYCHANGE
Dmitry Gorbik 11 vuotta sitten
vanhempi
commit
1811b37f4d
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 2 2
      lisp/org.el

+ 2 - 2
lisp/org.el

@@ -14748,8 +14748,8 @@ Returns the new tags string, or nil to not change the current settings."
       (if expert
 	  (set-buffer (get-buffer-create " *Org tags*"))
 	(delete-other-windows)
-	(split-window-vertically)
-	(org-switch-to-buffer-other-window (get-buffer-create " *Org tags*")))
+	(set-window-buffer (split-window-vertically) (get-buffer-create " *Org tags*"))
+	(org-switch-to-buffer-other-window " *Org tags*"))
       (erase-buffer)
       (org-set-local 'org-done-keywords done-keywords)
       (org-fast-tag-insert "Inherited" inherited i-face "\n")