Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
322ca650
Commit
322ca650
authored
Oct 31, 2008
by
Andreas Schwab
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(main): Don't force sending tty when in eval mode.
parent
5c979e02
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
lib-src/ChangeLog
lib-src/ChangeLog
+4
-0
lib-src/emacsclient.c
lib-src/emacsclient.c
+1
-1
No files found.
lib-src/ChangeLog
View file @
322ca650
2008-10-31 Andreas Schwab <schwab@suse.de>
* emacsclient.c (main): Don't force sending tty when in eval mode.
2008-10-30 Chong Yidong <cyd@stupidchicken.com>
* emacsclient.c (main): If using the current frame, send tty
...
...
lib-src/emacsclient.c
View file @
322ca650
...
...
@@ -1440,7 +1440,7 @@ main (argc, argv)
/* If using the current frame, send tty information to Emacs anyway.
In daemon mode, Emacs may need to occupy this tty if no other
frame is available. */
if
(
tty
||
current_frame
)
if
(
tty
||
(
current_frame
&&
!
eval
)
)
{
char
*
type
=
egetenv
(
"TERM"
);
char
*
tty_name
=
NULL
;
...
...
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