[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/emacs-24 r107788: * doc/lispref/processes.t
From: |
Chong Yidong |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/emacs-24 r107788: * doc/lispref/processes.texi (Query Before Exit): Remove obsolete function |
Date: |
Sun, 08 Apr 2012 21:30:26 +0800 |
User-agent: |
Bazaar (2.3.1) |
------------------------------------------------------------
revno: 107788
fixes bug(s): http://debbugs.gnu.org/11190
committer: Chong Yidong <address@hidden>
branch nick: emacs-24
timestamp: Sun 2012-04-08 21:30:26 +0800
message:
* doc/lispref/processes.texi (Query Before Exit): Remove obsolete function
process-kill-without-query.
modified:
doc/lispref/ChangeLog
doc/lispref/processes.texi
=== modified file 'doc/lispref/ChangeLog'
--- a/doc/lispref/ChangeLog 2012-04-08 02:07:16 +0000
+++ b/doc/lispref/ChangeLog 2012-04-08 13:30:26 +0000
@@ -1,3 +1,8 @@
+2012-04-08 Chong Yidong <address@hidden>
+
+ * processes.texi (Query Before Exit): Remove obsolete function
+ process-kill-without-query (Bug#11190).
+
2012-04-08 Glenn Morris <address@hidden>
* files.texi, frames.texi, loading.texi, os.texi, processes.texi:
=== modified file 'doc/lispref/processes.texi'
--- a/doc/lispref/processes.texi 2012-04-08 02:07:16 +0000
+++ b/doc/lispref/processes.texi 2012-04-08 13:30:26 +0000
@@ -1629,35 +1629,17 @@
This function sets the query flag of @var{process} to @var{flag}. It
returns @var{flag}.
+Here is an example of using @code{set-process-query-on-exit-flag} on a
+shell process to avoid querying:
+
@smallexample
@group
-;; @r{Don't query about the shell process}
(set-process-query-on-exit-flag (get-process "shell") nil)
@result{} t
@end group
@end smallexample
@end defun
address@hidden process-kill-without-query process &optional do-query
-This function clears the query flag of @var{process}, so that
-Emacs will not query the user on account of that process.
-
-Actually, the function does more than that: it returns the old value of
-the process's query flag, and sets the query flag to @var{do-query}.
-Please don't use this function to do those things any more---please
-use the newer, cleaner functions @code{process-query-on-exit-flag} and
address@hidden in all but the simplest cases.
-The only way you should use @code{process-kill-without-query} nowadays
-is like this:
-
address@hidden
address@hidden
-;; @r{Don't query about the shell process}
-(process-kill-without-query (get-process "shell"))
address@hidden group
address@hidden smallexample
address@hidden defun
-
@node System Processes
@section Accessing Other Processes
@cindex system processes
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/emacs-24 r107788: * doc/lispref/processes.texi (Query Before Exit): Remove obsolete function,
Chong Yidong <=