From ef879104ac3c61732bab1b99a0f3cb4ca5c1ffb4 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Thu, 18 Oct 2001 22:14:45 +0000 Subject: [PATCH] (current_minor_maps): `override' only shadows its correspondent in minor-mode-map-alist, not the whole tail. --- src/ChangeLog | 5 +++++ src/keymap.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index 10376fddaf5..cda3dc4186f 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2001-10-18 Stefan Monnier + + * keymap.c (current_minor_maps): `override' only shadows its + correspondent in minor-mode-map-alist, not the whole tail. + 2001-10-18 Andrew Innes * fontset.c (fs_load_font) [WINDOWSNT && _MSC_VER]: Disable diff --git a/src/keymap.c b/src/keymap.c index eb4d3ab375c..85a70a1a1e3 100644 --- a/src/keymap.c +++ b/src/keymap.c @@ -1184,7 +1184,7 @@ current_minor_maps (modeptr, mapptr) { val = assq_no_quit (var, lists[0]); if (!NILP (val)) - break; + continue; } if (i >= cmm_size) -- 2.39.2