summaryrefslogtreecommitdiff
path: root/lisp/subr.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/subr.el')
-rw-r--r--lisp/subr.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/lisp/subr.el b/lisp/subr.el
index ab2023bd544..cf90653d2e1 100644
--- a/lisp/subr.el
+++ b/lisp/subr.el
@@ -4266,6 +4266,9 @@ use `called-interactively-p'."
(eq 'add-keymap-witness (nth 1 map))
(set symbol tail)))))
+(define-obsolete-function-alias
+ 'set-temporary-overlay-map 'set-transient-map "24.4")
+
(defun set-transient-map (map &optional keep-pred on-exit)
"Set MAP as a temporary keymap taking precedence over other keymaps.
Normally, MAP is used only once, to look up the very next key.