mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-08-22 21:48:41 +00:00
org.el: Disable orgstruct-mode when falling back to original command
* org.el (orgstruct-make-binding): Disable orgstruct-mode on fallback.
This commit is contained in:
parent
5ab647af64
commit
7c27e57c4c
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue