org-export: Tweak dispatch UI
commit0a99cf72492ad28b673627227b8f7fda64751122
authorNicolas Goaziou <n.goaziou@gmail.com>
Thu, 11 Oct 2012 19:30:12 +0000 (11 21:30 +0200)
committerNicolas Goaziou <n.goaziou@gmail.com>
Thu, 11 Oct 2012 19:32:21 +0000 (11 21:32 +0200)
tree23446dbe12b88fe5f5d177aa5cdf292025fd627a
parentc23dea156337bdfdc0da5f88259ff5ae397eb7c2
org-export: Tweak dispatch UI

* contrib/lisp/org-export.el (org-export-dispatch-use-expert-ui):
  Complete docstring.
(org-export-dispatch): Fix docstring. Clean dispatch buffer, if any,
each time the function is called.
(org-export-dispatch-ui): Make sure window containing dispatch buffer
is active when user is prompted for a key.  Also remove cursor from
view.
(org-export-dispatch-action): Ring a bell when a wrong key is pressed.
In regular UI, also inform the user by a message.
contrib/lisp/org-export.el