From 6af509ec672f8b32076007bf17ad8cf45668f4cd 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 9e5e7c69d97..1e4c0d33ee9 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 59fb9b926d4..94401c5daa5 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 e62bee4499e..9b23b8a4d89 100644 --- a/lisp/net/ange-ftp.el +++ b/lisp/net/ange-ftp.el @@ -3622,7 +3622,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 a470873a823..f4a1299f279 100644 --- a/lisp/term.el +++ b/lisp/term.el @@ -612,8 +612,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