summaryrefslogtreecommitdiff
path: root/lisp/kmacro.el
diff options
context:
space:
mode:
authorChong Yidong <cyd@gnu.org>2013-12-23 11:59:10 +0800
committerChong Yidong <cyd@gnu.org>2013-12-23 11:59:10 +0800
commit8cd22a0818f3ed6832d4caa1883b32bab3107b54 (patch)
tree1c0922d3bd2e3ebd1fa17f05ca847f85bf7e6391 /lisp/kmacro.el
parentaec3bf9f49c8c0d0356a0e57f362bd0e23206e7d (diff)
downloademacs-8cd22a0818f3ed6832d4caa1883b32bab3107b54.tar.gz
emacs-8cd22a0818f3ed6832d4caa1883b32bab3107b54.tar.bz2
emacs-8cd22a0818f3ed6832d4caa1883b32bab3107b54.zip
Rename set-temporary-overlay-map -> set-transient-map
* lisp/subr.el (set-transient-map): Rename from set-temporary-overlay-map. Doc fix. * lisp/face-remap.el (text-scale-adjust): * lisp/indent.el (indent-rigidly): * lisp/kmacro.el (kmacro-call-macro): * lisp/minibuffer.el (minibuffer-force-complete): * lisp/repeat.el (repeat): * lisp/simple.el (universal-argument--mode): * lisp/calendar/todo-mode.el (todo-insert-item--next-param): * lisp/progmodes/f90.el (f90-abbrev-start): Callers changed. * lisp/org/org.el (orgstruct-make-binding): Call set-transient-map instead of old name set-temporary-overlay-map. * doc/lispref/keymaps.texi (Controlling Active Maps): Renamed set-temporary-overlay-map to set-transient map. Doc fixes. (Searching Keymaps): The transient keymap takes precedence.
Diffstat (limited to 'lisp/kmacro.el')
-rw-r--r--lisp/kmacro.el8
1 files changed, 4 insertions, 4 deletions
diff --git a/lisp/kmacro.el b/lisp/kmacro.el
index d20b54eba35..4f59c23996d 100644
--- a/lisp/kmacro.el
+++ b/lisp/kmacro.el
@@ -650,10 +650,10 @@ others, use \\[kmacro-name-last-macro]."
(if (and kmacro-call-repeat-with-arg
arg (> arg 1))
(format " %d times" arg) "")))
- ;; Can't use the `keep-pred' arg because this overlay keymap needs to be
- ;; removed during the next run of the kmacro (i.e. we need to add&remove
- ;; this overlay-map at each repetition).
- (set-temporary-overlay-map
+ ;; Can't use the `keep-pred' arg because this overlay keymap
+ ;; needs to be removed during the next run of the kmacro
+ ;; (i.e. we must add and remove this map at each repetition).
+ (set-transient-map
(let ((map (make-sparse-keymap)))
(define-key map (vector repeat-key)
`(lambda () (interactive)