diff options
| author | Daiki Ueno | 2015-03-23 12:40:29 +0900 |
|---|---|---|
| committer | Daiki Ueno | 2015-03-23 16:27:29 +0900 |
| commit | 47e0e319329a1ecf9da4fa1afd2b9f2738fada67 (patch) | |
| tree | 6260b8887776e71e448a62a707d6d15b5e3a1fcc /etc | |
| parent | 165bea78008ec7545698f2e893821b4090f20c79 (diff) | |
| download | emacs-47e0e319329a1ecf9da4fa1afd2b9f2738fada67.tar.gz emacs-47e0e319329a1ecf9da4fa1afd2b9f2738fada67.zip | |
Generalize start-process with keyword args
* src/process.c (Fmake_process): New function.
(create_process, create_pty): Check p->pty_flag instead of
Vprocess_connection_type.
(syms_of_process): Register QCcommand, QCconnection_type, Qpty,
Qpipe, and Smake_process. Unregister Sstart_process.
* lisp/subr.el (start-process): New function, ported from the C
implementation.
* doc/lispref/processes.texi (Asynchronous Processes): Mention
`make-process'.
* etc/NEWS: Mention `make-process'.
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/ChangeLog | 4 | ||||
| -rw-r--r-- | etc/NEWS | 5 |
2 files changed, 9 insertions, 0 deletions
diff --git a/etc/ChangeLog b/etc/ChangeLog index c94e12296ed..e146f786f6f 100644 --- a/etc/ChangeLog +++ b/etc/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2015-03-23 Daiki Ueno <ueno@gnu.org> | ||
| 2 | |||
| 3 | * NEWS: Mention `make-process'. | ||
| 4 | |||
| 1 | 2015-03-21 Titus von der Malsburg <malsburg@posteo.de> | 5 | 2015-03-21 Titus von der Malsburg <malsburg@posteo.de> |
| 2 | 6 | ||
| 3 | * NEWS: Mention `default-font-width', `window-font-height', | 7 | * NEWS: Mention `default-font-width', `window-font-height', |
| @@ -651,6 +651,11 @@ word syntax, use `\sw' instead. | |||
| 651 | 651 | ||
| 652 | * Lisp Changes in Emacs 25.1 | 652 | * Lisp Changes in Emacs 25.1 |
| 653 | 653 | ||
| 654 | ** New function `make-process' provides an alternative interface to | ||
| 655 | `start-process'. It allows programs to set process parameters such as | ||
| 656 | process filter, sentinel, etc., through keyword arguments (similar to | ||
| 657 | `make-network-process'). | ||
| 658 | |||
| 654 | ** `read-buffer' takes a new `predicate' argument. | 659 | ** `read-buffer' takes a new `predicate' argument. |
| 655 | 660 | ||
| 656 | ** Emacs Lisp now supports generators. | 661 | ** Emacs Lisp now supports generators. |