diff options
author | Christopher Schmidt <christopher@ch.ristopher.com> | 2013-02-13 12:35:55 +0100 |
---|---|---|
committer | Christopher Schmidt <christopher@ch.ristopher.com> | 2013-02-13 12:35:55 +0100 |
commit | 7c27e57c4c27e5c98fa2988ec6de38b4f7144b06 (patch) | |
tree | e5af5266dd6fd043d074cf7e26c4f276cbf2c5a1 | |
parent | 5ab647af6488219350e3419241d4282598689f69 (diff) | |
download | org-mode-7c27e57c4c27e5c98fa2988ec6de38b4f7144b06.tar.gz |
org.el: Disable orgstruct-mode when falling back to original command
* org.el (orgstruct-make-binding):
Disable orgstruct-mode on fallback.
-rw-r--r-- | lisp/org.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/org.el b/lisp/org.el index c6054a8..46d4341 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -8672,7 +8672,8 @@ should be checked in for a command to execute outside of tables." 'item-body))) (org-run-like-in-org-mode ',fun) t)) - (let ((binding (let ((orgstruct-mode)) (key-binding ,key)))) + (let* ((orgstruct-mode) + (binding (key-binding ,key))) (if (keymapp binding) (set-temporary-overlay-map binding) (call-interactively |