diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2021-08-19 16:48:59 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2021-08-19 16:48:59 -0700 |
commit | 07fcbb558d797272b9f43547da60beda485873a3 (patch) | |
tree | 77d5da14e9f9d9d8b1d877c70c01296fd3893796 /lisp/net/dictionary-connection.el | |
parent | c9bdeff3e45a7ac84a74a81bb048046f82dddc91 (diff) | |
parent | fb81c8c3adf8633f2f617c82f6019aef630860c7 (diff) | |
download | emacs-07fcbb558d797272b9f43547da60beda485873a3.tar.gz |
Merge remote-tracking branch 'origin/master' into athena/unstable
Diffstat (limited to 'lisp/net/dictionary-connection.el')
-rw-r--r-- | lisp/net/dictionary-connection.el | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/lisp/net/dictionary-connection.el b/lisp/net/dictionary-connection.el index 8ad4fe4e637..b874c488a82 100644 --- a/lisp/net/dictionary-connection.el +++ b/lisp/net/dictionary-connection.el @@ -22,10 +22,10 @@ ;;; Commentary: -;; dictionary-connection allows to handle TCP-based connections in -;; client mode where text-based information are exchanged. There is +;; dictionary-connection allows handling TCP-based connections in +;; client mode where text-based information is exchanged. There is ;; special support for handling CR LF (and the usual CR LF . CR LF -;; terminater). +;; terminator). ;;; Code: @@ -68,7 +68,7 @@ (defun dictionary-connection-open (server port) "Open a connection to SERVER at PORT. -A data structure identifing the connection is returned" +Return a data structure identifying the connection." (let ((process-buffer (generate-new-buffer (format " connection to %s:%s" server @@ -82,11 +82,11 @@ A data structure identifing the connection is returned" (defun dictionary-connection-status (connection) "Return the status of the CONNECTION. Possible return values are the symbols: -nil: argument is no connection object -'none: argument has no connection -'up: connection is open and buffer is existing -'down: connection is closed -'alone: connection is not associated with a buffer" + nil: argument is not a connection object + 'none: argument is not connected + 'up: connection is open and buffer is existing + 'down: connection is closed + 'alone: connection is not associated with a buffer" (when (dictionary-connection-p connection) (let ((process (dictionary-connection-process connection)) (buffer (dictionary-connection-buffer connection))) |