Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
6418ea16
Commit
6418ea16
authored
May 23, 1997
by
Richard M. Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(access_keymap, store_in_keymap): Don't look in a char-table
for a character that has modifier bits.
parent
36febf9e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
2 deletions
+14
-2
src/keymap.c
src/keymap.c
+14
-2
No files found.
src/keymap.c
View file @
6418ea16
...
...
@@ -484,7 +484,13 @@ access_keymap (map, idx, t_ok, noinherit)
}
else
if
(
CHAR_TABLE_P
(
binding
))
{
if
(
NATNUMP
(
idx
))
/* Character codes with modifiers
are not included in a char-table.
All character codes without modifiers are included. */
if
(
NATNUMP
(
idx
)
&&
!
(
XFASTINT
(
idx
)
&
(
CHAR_ALT
|
CHAR_SUPER
|
CHAR_HYPER
|
CHAR_SHIFT
|
CHAR_CTL
|
CHAR_META
)))
{
val
=
Faref
(
binding
,
idx
);
if
(
noprefix
&&
CONSP
(
val
)
&&
EQ
(
XCONS
(
val
)
->
car
,
Qkeymap
))
...
...
@@ -629,7 +635,13 @@ store_in_keymap (keymap, idx, def)
}
else
if
(
CHAR_TABLE_P
(
elt
))
{
if
(
NATNUMP
(
idx
))
/* Character codes with modifiers
are not included in a char-table.
All character codes without modifiers are included. */
if
(
NATNUMP
(
idx
)
&&
!
(
XFASTINT
(
idx
)
&
(
CHAR_ALT
|
CHAR_SUPER
|
CHAR_HYPER
|
CHAR_SHIFT
|
CHAR_CTL
|
CHAR_META
)))
{
Faset
(
elt
,
idx
,
def
);
return
def
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment