diff options
author | Nicolas Goaziou <n.goaziou@gmail.com> | 2012-10-21 14:54:23 +0200 |
---|---|---|
committer | Nicolas Goaziou <n.goaziou@gmail.com> | 2012-10-21 14:54:23 +0200 |
commit | 468d86052805e3d1438ae4a0487b4f197e572b82 (patch) | |
tree | 03e5ccde657b5b64f1da59040f86ec660bd55235 | |
parent | 09e3a24a2f553ed0b0061006091968351f98a39f (diff) | |
download | org-mode-468d86052805e3d1438ae4a0487b4f197e572b82.tar.gz |
org-export: Make sure that window displaying UI is tall enough
* contrib/lisp/org-export.el (org-export-dispatch-ui): Make sure that
window displaying UI is tall enough. This fixes a bug where only
a part of the menu was displayed.
-rw-r--r-- | contrib/lisp/org-export.el | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/contrib/lisp/org-export.el b/contrib/lisp/org-export.el index 488f58d..b331225 100644 --- a/contrib/lisp/org-export.el +++ b/contrib/lisp/org-export.el @@ -4592,7 +4592,10 @@ back to standard interface." (delete-other-windows) (org-switch-to-buffer-other-window (get-buffer-create "*Org Export Dispatcher*")) + (org-fit-window-to-buffer) (setq cursor-type nil)) + ;; At this point, the buffer containing the menu exists and is + ;; visible in the current window. So, refresh it. (with-current-buffer "*Org Export Dispatcher*" (erase-buffer) (insert help)) |