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
253c3c82
Commit
253c3c82
authored
Mar 17, 2008
by
Stefan Monnier
Browse files
(Fchar_equal): Check they are valid characters.
parent
f9f3238f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
src/ChangeLog
src/ChangeLog
+2
-0
src/editfns.c
src/editfns.c
+4
-2
No files found.
src/ChangeLog
View file @
253c3c82
2008-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
* editfns.c (Fchar_equal): Check they are valid characters.
* buffer.h (Fbuffer_list): Declare (for use in callint.c).
2008-03-17 Andreas Schwab <schwab@suse.de>
...
...
src/editfns.c
View file @
253c3c82
...
...
@@ -4185,8 +4185,10 @@ Case is ignored if `case-fold-search' is non-nil in the current buffer. */)
register
Lisp_Object
c1
,
c2
;
{
int
i1
,
i2
;
CHECK_NUMBER
(
c1
);
CHECK_NUMBER
(
c2
);
/* Check they're chars, not just integers, otherwise we could get array
bounds violations in DOWNCASE. */
CHECK_CHARACTER
(
c1
);
CHECK_CHARACTER
(
c2
);
if
(
XINT
(
c1
)
==
XINT
(
c2
))
return
Qt
;
...
...
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