(read_key_sequence): Use get_local_map.
#include "disptab.h"
#include "dispextern.h"
#include "keyboard.h"
+#include "intervals.h"
#include <setjmp.h>
#include <errno.h>
nmaps_allocated = nmaps;
}
bcopy (maps, submaps, (nmaps - 2) * sizeof (submaps[0]));
- submaps[nmaps-2] = current_buffer->keymap;
+#ifdef USE_TEXT_PROPERTIES
+ submaps[nmaps-2] = get_local_map (PT, current_buffer);
+#else
+ submaps[nmaps-2] = current_buffer->local_map;
+#endif
submaps[nmaps-1] = global_map;
}