diff options
author | Stefan Kangas <stefan@marxist.se> | 2021-02-07 16:06:06 +0100 |
---|---|---|
committer | Stefan Kangas <stefan@marxist.se> | 2021-02-07 16:07:42 +0100 |
commit | 5a4d50dfb136080fa2353461ee888d552da44a29 (patch) | |
tree | 230d11847941c856d7c6c729b83c9c6b0e8eb648 | |
parent | e027842f4fb57afbcd117409be12de916b0a1878 (diff) | |
download | emacs-5a4d50dfb136080fa2353461ee888d552da44a29.tar.gz |
Minor doc fixes in dictionary-connection.el
* lisp/net/dictionary-connection.el:
(dictionary-connection-p, dictionary-connection-read-to-point):
Minor doc fixes to adhere to our conventions.
-rw-r--r-- | lisp/net/dictionary-connection.el | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lisp/net/dictionary-connection.el b/lisp/net/dictionary-connection.el index 2404a361714..8ad4fe4e637 100644 --- a/lisp/net/dictionary-connection.el +++ b/lisp/net/dictionary-connection.el @@ -23,14 +23,14 @@ ;;; Commentary: ;; dictionary-connection allows to handle TCP-based connections in -;; client mode where text-based information are exchanged. There is +;; client mode where text-based information are exchanged. There is ;; special support for handling CR LF (and the usual CR LF . CR LF ;; terminater). ;;; Code: (defsubst dictionary-connection-p (connection) - "Returns non-nil if CONNECTION is a connection object." + "Return non-nil if CONNECTION is a connection object." (get connection 'connection)) (defsubst dictionary-connection-read-point (connection) @@ -149,8 +149,7 @@ nil: argument is no connection object (defun dictionary-connection-read-to-point (connection) "Read from CONNECTION until an end of entry is encountered. -End of entry is a decimal point found on a line by itself. -" +End of entry is a decimal point found on a line by itself." (dictionary-connection-read connection "\015?\012[.]\015?\012")) (provide 'dictionary-connection) |