aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerd Moellmann2000-05-11 09:28:06 +0000
committerGerd Moellmann2000-05-11 09:28:06 +0000
commit739f26728c43202851a9d4d6fbe792e09be65ff4 (patch)
treef7f19b784e535a564e28e19d650107a25165c2a9
parent2d0600a3d85fd1b0cab38ac280f435510b2abc08 (diff)
downloademacs-739f26728c43202851a9d4d6fbe792e09be65ff4.tar.gz
emacs-739f26728c43202851a9d4d6fbe792e09be65ff4.zip
(substitute-key-definition): Add comment describing
the meaning of PREFIX.
-rw-r--r--lisp/subr.el7
1 files changed, 7 insertions, 0 deletions
diff --git a/lisp/subr.el b/lisp/subr.el
index 1d37402f22d..d99153bf8cd 100644
--- a/lisp/subr.el
+++ b/lisp/subr.el
@@ -228,6 +228,13 @@ but optional second arg NODIGITS non-nil treats them like other chars."
228In other words, OLDDEF is replaced with NEWDEF where ever it appears. 228In other words, OLDDEF is replaced with NEWDEF where ever it appears.
229Alternatively, if optional fourth argument OLDMAP is specified, we redefine 229Alternatively, if optional fourth argument OLDMAP is specified, we redefine
230in KEYMAP as NEWDEF those chars which are defined as OLDDEF in OLDMAP." 230in KEYMAP as NEWDEF those chars which are defined as OLDDEF in OLDMAP."
231 ;; Don't document PREFIX in the doc string because we don't want to
232 ;; advertise it. It's meant for recursive calls only. Here's its
233 ;; meaning
234
235 ;; If optional argument PREFIX is specified, it should be a key
236 ;; prefix, a string. Redefined bindings will then be bound to the
237 ;; original key, with PREFIX added at the front.
231 (or prefix (setq prefix "")) 238 (or prefix (setq prefix ""))
232 (let* ((scan (or oldmap keymap)) 239 (let* ((scan (or oldmap keymap))
233 (vec1 (vector nil)) 240 (vec1 (vector nil))