File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 11
11
; ;; Code:
12
12
13
13
(defvar +adb-buffer-name " *adb*" )
14
+ (defvar +adb-process-name " adb-command" )
14
15
(defvar +adb-no-quote nil )
15
16
(defvar +adb-push-dest-history nil )
16
17
(defvar +adb-push-src-dest-cache nil )
@@ -27,7 +28,9 @@ By default, qutote the arguments unless `+adb-no-quote' is non-nil."
27
28
(out-buf (get-buffer-create +adb-buffer-name))
28
29
(cmd (string-join `(" adb" ,@(mapcar (if +adb-no-quote #'identity #'shell-quote-argument ) (seq-filter #'identity args))) " " )))
29
30
(let ((shell-command-with-editor-mode nil ))
30
- (async-shell-command cmd out-buf))
31
+ (with-current-buffer out-buf
32
+ (insert (propertize (format " \n %s \n - Sending command:\n - %S \n\n " (make-string 20 ?- ) cmd) 'face 'error )))
33
+ (start-process-shell-command +adb-process-name out-buf cmd))
31
34
(pop-to-buffer out-buf)))
32
35
33
36
;;;### autoload
You can’t perform that action at this time.
0 commit comments