org-compat.el (org-set-transient-map): New alias
* org-compat.el (org-set-transient-map): Alias pointing at `set-transient-map' if defined, at `set-temporary-overlay-map' otherwise. Thanks to Eric Abrahamsen for reporting this.
This commit is contained in:
parent
d91650b854
commit
77458b782a
|
@ -260,6 +260,12 @@ ignored in this case."
|
|||
next (+ from (* n inc)))))
|
||||
(nreverse seq)))))
|
||||
|
||||
;; `set-transient-map' is only in Emacs >= 24.4
|
||||
(defalias 'org-set-transient-map
|
||||
(if (fboundp 'set-transient-map)
|
||||
'set-transient-map
|
||||
'set-temporary-overlay-map))
|
||||
|
||||
;; Region compatibility
|
||||
|
||||
(defvar org-ignore-region nil
|
||||
|
|
Loading…
Reference in New Issue