diff options
| author | Kim F. Storm <storm@cua.dk> | 2002-03-21 12:37:23 +0000 |
|---|---|---|
| committer | Kim F. Storm <storm@cua.dk> | 2002-03-21 12:37:23 +0000 |
| commit | 41ad623325a240ba0faac183205ba44a9d6783ab (patch) | |
| tree | 8a1bca362f6a1fb523208820d6ccaa96d47b59af | |
| parent | 557ba8b2d6e5f4685c084180d1379cc9fc2980ce (diff) | |
| download | emacs-41ad623325a240ba0faac183205ba44a9d6783ab.tar.gz | |
Test for network process support with featurep.
| -rw-r--r-- | lisp/simple.el | 4 | ||||
| -rw-r--r-- | src/ChangeLog | 28 |
2 files changed, 30 insertions, 2 deletions
diff --git a/lisp/simple.el b/lisp/simple.el index 57493bb06e2..29a0f2a34ac 100644 --- a/lisp/simple.el +++ b/lisp/simple.el @@ -4206,7 +4206,7 @@ See also `normal-erase-is-backspace'." ;;; make-network-process wrappers -(if (fboundp 'make-network-process) +(if (featurep 'make-network-process) (progn (defun open-network-stream (name buffer host service) @@ -4271,7 +4271,7 @@ does not use these function." (make-network-process :name name :buffer buffer :service service :server t :noquery t))) -)) ;; (fboundp 'make-network-process) +)) ;; (featurep 'make-network-process) ;; compatibility diff --git a/src/ChangeLog b/src/ChangeLog index d215a29bd70..05a22d7e8ee 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,31 @@ +2002-03-21 Kim F. Storm <storm@cua.dk> + + * lisp.h (DEFUN) [USE_NONANSI_DEFUN]: The 2001-10-17 patch + removed the wrong version of the DEFUN macro; fixed it. + + * fns.c (Ffeaturep): Allow subfeature to be a list (test using + Fmember rather than Fmemq). + (Fprovide): Check that subfeatures is a list. + + * process.c (QCfeature, QCdatagram): Removed variables. + (QCtype, Qdatagram): New variables. + (network_process_featurep): Removed function. + (Fmake_network_process): Removed :feature check. + Use :type 'datagram instead of :datagram t to create a datagram + socket. This allows us to add other connection types (e.g. raw + sockets) later in a consistent manner. + (init_process) [subprocess]: Provide list of supported subfeatures + for feature make-network-process. + (syms_of_process) [subprocess]: Remove QCfeature and QCdatagram. + Intern and staticpro QCtype and Qdatagram. + (syms_of_process) [!subprocess]: Intern and staticpro QCtype. + + * xfns.c: (QCtype): Remove duplicate declaration and + initialization (is now declared in process.c). + + * w32fns.c: (QCtype): Remove duplicate declaration and + initialization (is now declared in process.c). + 2002-03-21 Richard M. Stallman <rms@gnu.org> * regex.c (DISCARD_FAILURE_REG_OR_COUNT): New macro. |
