diff options
author | Nicolas Goaziou <n.goaziou@gmail.com> | 2012-10-22 23:56:26 +0200 |
---|---|---|
committer | Nicolas Goaziou <n.goaziou@gmail.com> | 2012-10-22 23:56:26 +0200 |
commit | 6e73c22d157fb7c0a015a2ff81e523887e3e1f1f (patch) | |
tree | 40b0e02c716bf2c34fa96cd6271e704205b9722a | |
parent | 9751dc4561b2ed3cb410bb8f8949d099b333a7aa (diff) | |
download | org-mode-6e73c22d157fb7c0a015a2ff81e523887e3e1f1f.tar.gz |
org-export: Fix commit 468d86052805e3d1438ae4a0487b4f197e572b82
* contrib/lisp/org-export.el (org-export-dispatch-ui): Ensure fitting
happens once contents have been inserted in the displayed buffer.
-rw-r--r-- | contrib/lisp/org-export.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/lisp/org-export.el b/contrib/lisp/org-export.el index b40f188..7b185d4 100644 --- a/contrib/lisp/org-export.el +++ b/contrib/lisp/org-export.el @@ -4591,13 +4591,13 @@ 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)) + (org-fit-window-to-buffer) (org-export-dispatch-action standard-prompt allowed-keys backends options first-key expertp)))) |