mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 18:40:39 -08:00
(substitute-key-definition): Fix previous change.
This commit is contained in:
parent
f8fc2527ce
commit
9a5114ac7e
1 changed files with 2 additions and 3 deletions
|
|
@ -205,9 +205,8 @@ in KEYMAP as NEWDEF those chars which are defined as OLDDEF in OLDMAP."
|
|||
(if (or (eq defn olddef)
|
||||
(and (or (stringp defn) (vectorp defn))
|
||||
(equal defn olddef)))
|
||||
(set-char-table-range (car scan)
|
||||
char
|
||||
(nconc (nreverse skipped) newdef))
|
||||
(define-key keymap prefix1
|
||||
(nconc (nreverse skipped) newdef))
|
||||
(if (and (keymapp defn)
|
||||
(let ((elt (lookup-key keymap prefix1)))
|
||||
(or (null elt)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue