diff options
Diffstat (limited to 'gnosis.el')
-rw-r--r-- | gnosis.el | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1027,12 +1027,12 @@ Used to reveal all clozes left with `gnosis-face-cloze-unanswered' face." (defun gnosis-git--process (command) "Start a git process with COMMAND." - (let ((proc (start-process "*git-gnosis*" nil "git" command))) + (let ((proc (start-process "*git-gnosis*" "*git-gnosis*" "git" command))) ;; Filter for password prompt (set-process-filter proc (lambda (proc string) (when (string-match "Password\\|password\\|passphrase" string) (process-send-string proc (read-passwd "Password: "))))) - ;; Set sentinel to delete process when done + ;; FIXME: Set sentinel to delete process when done (set-process-sentinel proc (lambda (proc event) (when (eq 'exit (process-status proc)) (unless (process-live-p proc) |