From e16a1e71ded6cc7e5a895fd32060285feb10ad09 Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Thu, 8 Mar 2018 20:18:18 -0500 Subject: [PATCH] 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. --- lisp/comint.el | 4 ++-- lisp/eshell/esh-proc.el | 4 ++-- lisp/net/ange-ftp.el | 2 +- lisp/term.el | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/lisp/comint.el b/lisp/comint.el index 3163afeff40..838662a59a2 100644 --- a/lisp/comint.el +++ b/lisp/comint.el @@ -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'. 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., -`(process-kill-without-query)'). In contrast, the `comint-mode-hook' is only -executed once when the buffer is created." +`set-process-query-on-exit-flag'). In contrast, `comint-mode-hook' is only +executed once, when the buffer is created." :type 'hook :group 'comint) diff --git a/lisp/eshell/esh-proc.el b/lisp/eshell/esh-proc.el index f1380852b3b..b3bd7a72456 100644 --- a/lisp/eshell/esh-proc.el +++ b/lisp/eshell/esh-proc.el @@ -87,8 +87,8 @@ variable's value to take effect." "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 useful for things that must be done each time a process is -executed in an eshell mode buffer (e.g., `process-kill-without-query'). -In contrast, `eshell-mode-hook' is only executed once when the buffer +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 is created." :type 'hook :group 'eshell-proc) diff --git a/lisp/net/ange-ftp.el b/lisp/net/ange-ftp.el index b1e0bf24aa8..c3650afa9a7 100644 --- a/lisp/net/ange-ftp.el +++ b/lisp/net/ange-ftp.el @@ -3633,7 +3633,7 @@ so return the size on the remote host exactly. See RFC 3659." ;; newname)) ;; res) ;; (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) ;; (set (make-local-variable 'copy-cont) cont)))) ;; diff --git a/lisp/term.el b/lisp/term.el index cf7699abc94..93da33ea5b0 100644 --- a/lisp/term.el +++ b/lisp/term.el @@ -598,8 +598,8 @@ This is run before the process is cranked up." "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 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 -executed once when the buffer is created." +`set-process-query-on-exit-flag'). In contrast, `term-mode-hook' is only +executed once, when the buffer is created." :type 'hook :group 'term) -- 2.39.2