Skip to content

Commit

Permalink
tests/emacs-daemon: fix failure for unset $DISPLAY
Browse files Browse the repository at this point in the history
axelf4 figured[1] out a workaround for fixing a failure due to an unset
$DISPLAY variable.

[1] #168076 (comment)
  • Loading branch information
azahi authored and adisbladis committed Apr 16, 2022
1 parent 55f57fa commit 67565c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nixos/tests/emacs-daemon.nix
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ import ./make-test-python.nix ({ pkgs, ...} : {
)
# connects to the daemon
machine.succeed("emacsclient --create-frame $EDITOR >&2 &")
machine.succeed("emacsclient --no-wait --frame-parameters='((display . \"'\"$DISPLAY\"'\"))' --create-frame $EDITOR >&2")
# checks that Emacs shows the edited filename
machine.wait_for_text("emacseditor")
Expand Down

0 comments on commit 67565c3

Please sign in to comment.