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
637de37e
Commit
637de37e
authored
Feb 06, 2011
by
Paul Eggert
Browse files
* minibuf.c: conform to C89 pointer rules
parent
01c9aa3a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
src/ChangeLog
src/ChangeLog
+1
-0
src/minibuf.c
src/minibuf.c
+2
-2
No files found.
src/ChangeLog
View file @
637de37e
...
...
@@ -18,6 +18,7 @@
* keyboard.c (echo_char, MULTI_LETTER_MOD, tty_read_avail_input):
Likewise.
* keymap.c (Ftext_char_description): Likewise.
* minibuf.c (Fread_buffer): Likewise.
* insdel.c (insert, insert_and_inherit, insert_before_markers):
(insert_before_markers_and_inherit, insert_1, insert_1_both):
Likewise. This changes these functions' signatures, which is
src/minibuf.c
View file @
637de37e
...
...
@@ -1091,7 +1091,7 @@ function, instead of the usual behavior. */)
(
Lisp_Object
prompt
,
Lisp_Object
def
,
Lisp_Object
require_match
)
{
Lisp_Object
args
[
4
],
result
;
unsigned
char
*
s
;
char
*
s
;
int
len
;
int
count
=
SPECPDL_INDEX
();
...
...
@@ -1113,7 +1113,7 @@ function, instead of the usual behavior. */)
if
(
STRINGP
(
prompt
))
{
s
=
SDATA
(
prompt
);
s
=
S
SDATA
(
prompt
);
len
=
strlen
(
s
);
if
(
len
>=
2
&&
s
[
len
-
2
]
==
':'
&&
s
[
len
-
1
]
==
' '
)
len
=
len
-
2
;
...
...
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