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
a3b1a468
Commit
a3b1a468
authored
Dec 04, 2008
by
Dan Nicolaescu
Browse files
(kbd_buffer_get_event): Follow the non-interactive
case when running as a daemon before detaching.
parent
c8d6b4bc
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
1 deletion
+9
-1
src/ChangeLog
src/ChangeLog
+5
-0
src/keyboard.c
src/keyboard.c
+4
-1
No files found.
src/ChangeLog
View file @
a3b1a468
2008-12-04 Dan Nicolaescu <dann@ics.uci.edu>
* keyboard.c (kbd_buffer_get_event): Follow the non-interactive
case when running as a daemon before detaching.
2008-12-03 Juanma Barranquero <lekktu@gmail.com>
* w32.c (init_environment): Don't unload library shell32.dll.
...
...
src/keyboard.c
View file @
a3b1a468
...
...
@@ -3978,7 +3978,10 @@ kbd_buffer_get_event (kbp, used_mouse_menu, end_time)
register int c;
Lisp_Object obj;
if (noninteractive)
if (noninteractive
/* In case we are running as a daemon, only do this before
detaching from the terminal. */
|| (IS_DAEMON && daemon_pipe[1] >= 0))
{
c = getchar ();
XSETINT (obj, c);
...
...
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