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
c4f14ccb
Commit
c4f14ccb
authored
Apr 13, 1993
by
Richard M. Stallman
Browse files
(message, message1): If noninteractive and
cursor_in_echo_area, don't print a newline at end of message.
parent
09c95874
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
src/xdisp.c
src/xdisp.c
+6
-2
No files found.
src/xdisp.c
View file @
c4f14ccb
...
...
@@ -187,7 +187,10 @@ message1 (m)
if (noninteractive_need_newline)
putc ('\n', stderr);
noninteractive_need_newline = 0;
fprintf (stderr, "%s\n", m);
if (cursor_in_echo_area != 0)
fprintf (stderr, "%s", m);
else
fprintf (stderr, "%s\n", m);
fflush (stderr);
}
/* A null message buffer means that the frame hasn't really been
...
...
@@ -237,7 +240,8 @@ message (m, a1, a2, a3)
putc ('\n', stderr);
noninteractive_need_newline = 0;
fprintf (stderr, m, a1, a2, a3);
fprintf (stderr, "\n");
if (cursor_in_echo_area == 0)
fprintf (stderr, "\n");
fflush (stderr);
}
}
...
...
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