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
09317bf4
Commit
09317bf4
authored
Feb 08, 2008
by
Stefan Monnier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(decode_options): Fix last change so as not to override an explicit -display.
parent
9997dc15
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
lib-src/emacsclient.c
lib-src/emacsclient.c
+1
-1
No files found.
lib-src/emacsclient.c
View file @
09317bf4
...
...
@@ -565,7 +565,7 @@ decode_options (argc, argv)
-c still implicitly passes --display $DISPLAY unless -t was specified
so as to try and mimick the behavior of `emacs' which either uses
the current tty or the current $DISPLAY. */
if
(
!
current_frame
&&
!
tty
)
if
(
!
current_frame
&&
!
tty
&&
!
display
)
display
=
egetenv
(
"DISPLAY"
);
if
(
display
&&
strlen
(
display
)
==
0
)
...
...
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