branch: externals/detached commit f896cd977743087daf14c81b353776a0db6808e3 Author: Niklas Eklund <niklas.ekl...@posteo.net> Commit: Niklas Eklund <niklas.ekl...@posteo.net>
Reformat code --- detached.el | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/detached.el b/detached.el index 97061a96fb..8ed132a04b 100644 --- a/detached.el +++ b/detached.el @@ -910,8 +910,6 @@ This function uses the `notifications' library." (setq-local default-directory (detached-session-working-directory session)) (setq detached-buffer-session detached-current-session))))) -;;;;; Public session functions - (defun detached-start-shell-command-session (session) "Start SESSION as a `shell-command'." (cl-letf* ((inhibit-message t) @@ -925,6 +923,8 @@ This function uses the `notifications' library." (with-current-buffer buffer (setq detached-buffer-session session)))) +;;;;; Public session functions + (defun detached-start-session (session) "Start SESSION." (if (eq 'detached (detached--session-initial-mode session)) @@ -1024,7 +1024,9 @@ This function uses the `notifications' library." (car (split-string (with-temp-buffer - (apply #'process-file `("pgrep" nil t nil "-f" ,(shell-quote-argument (format "dtach -. %s" socket)))) + (apply #'process-file + `("pgrep" nil t nil + "-f" ,(shell-quote-argument (format "dtach -. %s" socket)))) (buffer-string)) "\n" t))))