Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
d7c0be75
Commit
d7c0be75
authored
Nov 21, 2005
by
Ken Raeburn
Browse files
(shadow_lookup): Use make_number to pass a number to Fsubstring.
parent
bd24684b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
src/ChangeLog
src/ChangeLog
+5
-0
src/keymap.c
src/keymap.c
+2
-1
No files found.
src/ChangeLog
View file @
d7c0be75
2005-11-21 Ken Raeburn <raeburn@mit.edu>
* keymap.c (shadow_lookup): Use make_number to pass a number to
Fsubstring.
2005-11-21 Juri Linkov <juri@jurta.org>
* puresize.h (BASE_PURESIZE): Increment to 1180000.
...
...
src/keymap.c
View file @
d7c0be75
...
...
@@ -2379,7 +2379,8 @@ shadow_lookup (shadow, key, flag)
value
=
Flookup_key
(
XCAR
(
tail
),
key
,
flag
);
if
(
NATNUMP
(
value
))
{
value
=
Flookup_key
(
XCAR
(
tail
),
Fsubstring
(
key
,
0
,
value
),
flag
);
value
=
Flookup_key
(
XCAR
(
tail
),
Fsubstring
(
key
,
make_number
(
0
),
value
),
flag
);
if
(
!
NILP
(
value
))
return
Qnil
;
}
...
...
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