# HG changeset patch # User Stefan Monnier # Date 1112110239 0 # Node ID 27c2765e06c822818bd7888c32248235c8484f30 # Parent e5a07aa840d96fd04b3589040718593bdc66795f (vc-do-command): Use a pipe for async processes, so password prompts don't show up at places where the user can't reply. diff -r e5a07aa840d9 -r 27c2765e06c8 lisp/ChangeLog --- a/lisp/ChangeLog Tue Mar 29 14:56:14 2005 +0000 +++ b/lisp/ChangeLog Tue Mar 29 15:30:39 2005 +0000 @@ -1,3 +1,8 @@ +2005-03-29 Stefan Monnier + + * vc.el (vc-do-command): Use a pipe for async processes, so password + prompts don't show up at places where the user can't reply. + 2005-03-29 Olive Lin * textmodes/tex-mode.el (tex-send-command): shell-quote-argument diff -r e5a07aa840d9 -r 27c2765e06c8 lisp/vc.el --- a/lisp/vc.el Tue Mar 29 14:56:14 2005 +0000 +++ b/lisp/vc.el Tue Mar 29 15:30:39 2005 +0000 @@ -1,7 +1,7 @@ ;;; vc.el --- drive a version-control system from within Emacs ;; Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, -;; 2000, 2001, 2003, 2004 Free Software Foundation, Inc. +;; 2000, 2001, 2003, 2004, 2005 Free Software Foundation, Inc. ;; Author: FSF (see below for full credits) ;; Maintainer: Andre Spiegel @@ -962,8 +962,10 @@ ;; start-process does not support remote execution (setq okstatus nil)) (if (eq okstatus 'async) - (let ((proc (apply 'start-process command (current-buffer) command - squeezed))) + (let ((proc + (let ((process-connection-type nil)) + (apply 'start-process command (current-buffer) command + squeezed)))) (unless (active-minibuffer-window) (message "Running %s in the background..." command)) ;;(set-process-sentinel proc (lambda (p msg) (delete-process p)))