[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: RFC: DWIM for killing *shell* and a more process-query-on-exit
From: |
Andreas Schwab |
Subject: |
Re: RFC: DWIM for killing *shell* and a more process-query-on-exit |
Date: |
Sun, 29 Mar 2015 09:23:07 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.4.91 (gnu/linux) |
Daniel Colascione <address@hidden> writes:
> @@ -1156,28 +1157,31 @@ This function returns FLAG. */)
> return flag;
> }
>
> -DEFUN ("set-process-query-on-exit-flag",
> - Fset_process_query_on_exit_flag, Sset_process_query_on_exit_flag,
> +DEFUN ("set-process-query-on-exit",
> + Fset_process_query_on_exit, Sset_process_query_on_exit,
This should be called set-process-query-on-exit-function.
> @@ -1449,7 +1453,7 @@ usage: (make-process &rest ARGS) */)
> pset_command (XPROCESS (proc), Fcopy_sequence (command));
>
> if (tem = Fplist_get (contact, QCnoquery), !NILP (tem))
> - XPROCESS (proc)->kill_without_query = 1;
> + XPROCESS (proc)->query_on_exit = tem;
This inverts the meaning of :noquery.
Andreas.
--
Andreas Schwab, address@hidden
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."