Reformat code
This commit is contained in:
parent
993f23c7be
commit
416acd4a35
1 changed files with 4 additions and 5 deletions
|
@ -249,11 +249,10 @@ an ALIAS and SERVICE as arguments and call
|
|||
(sentinel (lambda (process signal)
|
||||
(when (memq (process-status process) '(exit signal))
|
||||
(message "Process: %s %s" process signal)))))
|
||||
(make-process
|
||||
:name process-name
|
||||
:buffer buffer
|
||||
:command `("ssh" ,host "sudo" "tail -f" ,filepath)
|
||||
:sentinel sentinel)))
|
||||
(make-process :name process-name
|
||||
:buffer buffer
|
||||
:command `("ssh" ,host "sudo" "tail -f" ,filepath)
|
||||
:sentinel sentinel)))
|
||||
|
||||
(defmacro mk/define-remote-log-function (alias service &optional filename)
|
||||
"Define a function to asynchronously tail a remote log file."
|
||||
|
|
Loading…
Add table
Reference in a new issue