diff --git a/lisp/org.el b/lisp/org.el index f9201e959..edbcc09cd 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -9063,7 +9063,7 @@ if `orgstruct-heading-prefix-regexp' is not empty." (key-description key)))))) thereis (key-binding key)))) (if (keymapp binding) - (set-temporary-overlay-map binding) + (set-transient-map binding) (let ((func (or binding (unless disable 'orgstruct-error))))