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
a9051c88
Commit
a9051c88
authored
Dec 22, 2008
by
Dan Nicolaescu
Browse files
(read_minibuf): Follow the non-interactive case when
running as a daemon, before detaching.
parent
348a60a8
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
1 deletion
+10
-1
src/ChangeLog
src/ChangeLog
+5
-0
src/minibuf.c
src/minibuf.c
+5
-1
No files found.
src/ChangeLog
View file @
a9051c88
2008-12-22 Dan Nicolaescu <dann@ics.uci.edu>
* minibuf.c (read_minibuf): Follow the non-interactive case when
running as a daemon, before detaching.
2008-12-22 Andreas Schwab <schwab@suse.de>
* buffer.c (init_buffer): Use realloc instead of xrealloc.
...
...
src/minibuf.c
View file @
a9051c88
...
...
@@ -525,7 +525,11 @@ read_minibuf (map, initial, prompt, backup_n, expflag,
build_string
(
"Command attempted to use minibuffer while in minibuffer"
));
}
if
(
noninteractive
&&
NILP
(
Vexecuting_kbd_macro
))
if
((
noninteractive
/* In case we are running as a daemon, only do this before
detaching from the terminal. */
||
(
IS_DAEMON
&&
(
daemon_pipe
[
1
]
>=
0
)))
&&
NILP
(
Vexecuting_kbd_macro
))
{
val
=
read_minibuf_noninteractive
(
map
,
initial
,
prompt
,
make_number
(
pos
),
...
...
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