Mercurial > emacs
changeset 20576:b916d29222a3
(current_minor_maps):
If a variable has an entry in Vminor_mode_overriding_map_alist,
and also an entry in Vminor_mode_map_alist, ignore the latter.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Fri, 02 Jan 1998 23:37:19 +0000 |
parents | 460e5621e8c9 |
children | 46c697b88c83 |
files | src/keymap.c |
diffstat | 1 files changed, 10 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/keymap.c Fri Jan 02 23:23:21 1998 +0000 +++ b/src/keymap.c Fri Jan 02 23:37:19 1998 +0000 @@ -1077,6 +1077,16 @@ { Lisp_Object temp; + /* If a variable has an entry in Vminor_mode_overriding_map_alist, + and also an entry in Vminor_mode_map_alist, + ignore the latter. */ + if (list_number == 1) + { + val = assq_no_quit (var, lists[0]); + if (!NILP (val)) + break; + } + if (i >= cmm_size) { Lisp_Object *newmodes, *newmaps;