Skip to content

Commit d4217b3

Browse files
committed
Clarify overriding-local-map doc string
* src/keyboard.c (syms_of_keyboard): Clarify `overriding-local-map' vs. text properties/overlays (bug#16312).
1 parent 0afbde4 commit d4217b3

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/keyboard.c

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12141,10 +12141,11 @@ terminal device. See Info node `(elisp)Multiple Terminals'. */);
1214112141
DEFVAR_LISP ("overriding-local-map", Voverriding_local_map,
1214212142
doc: /* Keymap that replaces (overrides) local keymaps.
1214312143
If this variable is non-nil, Emacs looks up key bindings in this
12144-
keymap INSTEAD OF the keymap char property, minor mode maps, and the
12145-
buffer's local map. Hence, the only active keymaps would be
12146-
`overriding-terminal-local-map', this keymap, and `global-keymap', in
12147-
order of precedence. */);
12144+
keymap INSTEAD OF `keymap' text properties, `local-map' and `keymap'
12145+
overlay properties, minor mode maps, and the buffer's local map.
12146+
12147+
Hence, the only active keymaps would be `overriding-terminal-local-map',
12148+
this keymap, and `global-keymap', in order of precedence. */);
1214812149
Voverriding_local_map = Qnil;
1214912150

1215012151
DEFVAR_LISP ("overriding-local-map-menu-flag", Voverriding_local_map_menu_flag,

0 commit comments

Comments
 (0)