Skip to content

Commit

Permalink
pass :file-handler to make-process
Browse files Browse the repository at this point in the history
in rustic-cargo-outdated and rustic-create-project

close #338
  • Loading branch information
brotzeit committed Jan 6, 2022
1 parent 7f251b9 commit b4faf3c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions rustic-cargo.el
Original file line number Diff line number Diff line change
@@ -274,7 +274,8 @@ Execute process in PATH."
:buffer buf
:command '("cargo" "outdated" "--depth" "1")
:filter #'rustic-cargo-outdated-filter
:sentinel #'rustic-cargo-outdated-sentinel)
:sentinel #'rustic-cargo-outdated-sentinel
:file-handler t)
(with-current-buffer buf
(setq default-directory dir)
(erase-buffer)
@@ -443,7 +444,8 @@ BIN is not nil, create a binary application, otherwise a library."
(make-process :name proc
:buffer buf
:command (list (rustic-cargo-bin) cmd bin project-path)
:sentinel new-sentinel)))
:sentinel new-sentinel
:file-handler t)))

;;;###autoload
(defun rustic-cargo-new (project-path &optional bin)

0 comments on commit b4faf3c

Please sign in to comment.