Commit 4656b314 authored by Gerd Moellmann's avatar Gerd Moellmann
Browse files

(substitute-key-definition): Clarify documentation.

parent 971c5b28
2000-05-04 Gerd Moellmann <>
* subr.el (substitute-key-definition): Clarify documentation.
2000-05-04 Milan Zamazal <>
* glasses.el (glasses-convert-to-unreadable): Use
`glasses-separator' instead of the hard-wired "_".
(glasses-mode): Call `glasses-make-unreadable' only in a single
2000-05-04 Eli Zaretskii <>
* term/internal.el (cjk-codepages-alist): Add associations for
......@@ -226,7 +226,7 @@ but optional second arg NODIGITS non-nil treats them like other chars."
(defun substitute-key-definition (olddef newdef keymap &optional oldmap prefix)
"Replace OLDDEF with NEWDEF for any keys in KEYMAP now defined as OLDDEF.
In other words, OLDDEF is replaced with NEWDEF where ever it appears.
If optional fourth argument OLDMAP is specified, we redefine
Alternatively, if optional fourth argument OLDMAP is specified, we redefine
in KEYMAP as NEWDEF those chars which are defined as OLDDEF in OLDMAP."
(or prefix (setq prefix ""))
(let* ((scan (or oldmap keymap))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment