Replace the obsolete process-kill-without-query in documentation

* lisp/comint.el (comint-exec-hook):
* lisp/term.el (term-exec-hook):
* lisp/eshell/esh-proc.el (eshell-exec-hook):
Doc fixes re the obsolete process-kill-without-query.
; * lisp/net/ange-ftp.el: Comment.
This commit is contained in:
Glenn Morris 2018-03-08 20:18:18 -05:00
parent 4df0d15963
commit 6af509ec67
4 changed files with 7 additions and 7 deletions

View file

@ -454,8 +454,8 @@ This is run before the process is cranked up."
"Hook run each time a process is exec'd by `comint-exec'. "Hook run each time a process is exec'd by `comint-exec'.
This is called after the process is cranked up. It is useful for things that This is called after the process is cranked up. It is useful for things that
must be done each time a process is executed in a Comint mode buffer (e.g., must be done each time a process is executed in a Comint mode buffer (e.g.,
`(process-kill-without-query)'). In contrast, the `comint-mode-hook' is only `set-process-query-on-exit-flag'). In contrast, `comint-mode-hook' is only
executed once when the buffer is created." executed once, when the buffer is created."
:type 'hook :type 'hook
:group 'comint) :group 'comint)

View file

@ -87,8 +87,8 @@ variable's value to take effect."
"Called each time a process is exec'd by `eshell-gather-process-output'. "Called each time a process is exec'd by `eshell-gather-process-output'.
It is passed one argument, which is the process that was just started. It is passed one argument, which is the process that was just started.
It is useful for things that must be done each time a process is It is useful for things that must be done each time a process is
executed in an eshell mode buffer (e.g., `process-kill-without-query'). executed in an eshell mode buffer (e.g., `set-process-query-on-exit-flag').
In contrast, `eshell-mode-hook' is only executed once when the buffer In contrast, `eshell-mode-hook' is only executed once, when the buffer
is created." is created."
:type 'hook :type 'hook
:group 'eshell-proc) :group 'eshell-proc)

View file

@ -3622,7 +3622,7 @@ so return the size on the remote host exactly. See RFC 3659."
;; newname)) ;; newname))
;; res) ;; res)
;; (set-process-sentinel proc 'ange-ftp-copy-file-locally-sentinel) ;; (set-process-sentinel proc 'ange-ftp-copy-file-locally-sentinel)
;; (process-kill-without-query proc) ;; (set-process-query-on-exit-flag proc nil)
;; (with-current-buffer (process-buffer proc) ;; (with-current-buffer (process-buffer proc)
;; (set (make-local-variable 'copy-cont) cont)))) ;; (set (make-local-variable 'copy-cont) cont))))
;; ;;

View file

@ -612,8 +612,8 @@ This is run before the process is cranked up."
"Called each time a process is exec'd by `term-exec'. "Called each time a process is exec'd by `term-exec'.
This is called after the process is cranked up. It is useful for things that This is called after the process is cranked up. It is useful for things that
must be done each time a process is executed in a term mode buffer (e.g., must be done each time a process is executed in a term mode buffer (e.g.,
`process-kill-without-query'). In contrast, `term-mode-hook' is only `set-process-query-on-exit-flag'). In contrast, `term-mode-hook' is only
executed once when the buffer is created." executed once, when the buffer is created."
:type 'hook :type 'hook
:group 'term) :group 'term)