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
d704470f
Commit
d704470f
authored
Dec 26, 2008
by
Andreas Schwab
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(map_keymap_char_table_item): Make a copy of KEY if it is a
cons.
parent
54b33868
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
0 deletions
+9
-0
src/ChangeLog
src/ChangeLog
+5
-0
src/keymap.c
src/keymap.c
+4
-0
No files found.
src/ChangeLog
View file @
d704470f
2008-12-26 Andreas Schwab <schwab@suse.de>
* keymap.c (map_keymap_char_table_item): Make a copy of KEY if it is a
cons.
2008-12-26 Martin Rudalics <rudalics@gmx.at>
* textprop.c (Qminibuffer_prompt): New variable.
...
...
src/keymap.c
View file @
d704470f
...
...
@@ -650,6 +650,10 @@ map_keymap_char_table_item (args, key, val)
{
map_keymap_function_t
fun
=
XSAVE_VALUE
(
XCAR
(
args
))
->
pointer
;
args
=
XCDR
(
args
);
/* If the key is a range, make a copy since map_char_table modifies
it in place. */
if
(
CONSP
(
key
))
key
=
Fcons
(
XCAR
(
key
),
XCDR
(
key
));
map_keymap_item
(
fun
,
XCDR
(
args
),
key
,
val
,
XSAVE_VALUE
(
XCAR
(
args
))
->
pointer
);
}
...
...
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