]> git.eshelyaron.com Git - emacs.git/commitdiff
Explain how to use featurep with make-network-process.
authorKim F. Storm <storm@cua.dk>
Thu, 21 Mar 2002 12:41:49 +0000 (12:41 +0000)
committerKim F. Storm <storm@cua.dk>
Thu, 21 Mar 2002 12:41:49 +0000 (12:41 +0000)
Changed :datagram t to :type 'datagram for datagram connection.

etc/NEWS

index 56f3d8c7b23d6c41f82f8ecfe722e4f99e905725..f7601029f39def9e7a481a938305c951957c7f56 100644 (file)
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -692,11 +692,14 @@ opening of stream and datagram connections to a server, as well as
 create a stream or datagram server inside emacs.
 
 - A server is started using :server t arg.
-- Datagram connection is selected using :datagram t arg.
+- Datagram connection is selected using :type 'datagram arg.
 - A server can open on a random port using :service t arg.
 - Local sockets are supported using :family 'local arg.
 - Non-blocking connect is supported using :nowait t arg.
 
+To test for the availability of a given feature, use featurep like this:
+  (featurep 'make-network-process '(:type datagram))
+
 *** Original open-network-stream is now emulated using make-network-process.
 
 *** New function open-network-stream-nowait.