(decode_options): Fix last change so as not to override an explicit -display.
This commit is contained in:
parent
9997dc1529
commit
09317bf4bf
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue