Backport change from Chong on 2013-12-23

This commit is contained in:
Bastien Guerry 2014-01-07 13:25:30 +01:00
parent 5b7d53e713
commit 152712a7c8
1 changed files with 1 additions and 1 deletions

View File

@ -9063,7 +9063,7 @@ if `orgstruct-heading-prefix-regexp' is not empty."
(key-description key)))))) (key-description key))))))
thereis (key-binding key)))) thereis (key-binding key))))
(if (keymapp binding) (if (keymapp binding)
(set-temporary-overlay-map binding) (set-transient-map binding)
(let ((func (or binding (let ((func (or binding
(unless disable (unless disable
'orgstruct-error)))) 'orgstruct-error))))