Skip to content

Commit

Permalink
Probably a bug fix?
Browse files Browse the repository at this point in the history
  • Loading branch information
mookid committed Dec 16, 2017
1 parent 3a6d013 commit d0b03f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cargo-process.el
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@
"Set RUST_BACKTRACE variable depending on the COMMAND used.
Always set to nil if cargo-process--enable-rust-backtrace is nil"
(when cargo-process--enable-rust-backtrace
(if (string-match "cargo \\(test\\|run\\)" "cargo run")
(if (string-match "cargo \\(test\\|run\\)" command)
(setenv cargo-process--rust-backtrace "1")
(setenv cargo-process--rust-backtrace nil))))

Expand Down

0 comments on commit d0b03f2

Please sign in to comment.