emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/websocket c4d8d58 14/16: Fix confusing documentation st


From: Stefan Monnier
Subject: [elpa] externals/websocket c4d8d58 14/16: Fix confusing documentation string in websocket library.
Date: Fri, 27 Nov 2020 17:47:20 -0500 (EST)

branch: externals/websocket
commit c4d8d58718c952e038f490c10cfc76ff88ae2ebb
Author: Andrew Hyatt <ahyatt@gmail.com>
Commit: Stefan Monnier <monnier@iro.umontreal.ca>

    Fix confusing documentation string in websocket library.
    
    * packages/websocket/websocket.el (websocket-openp): Replace documentation
      string.
---
 websocket.el | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/websocket.el b/websocket.el
index 6d8d954..4c8b040 100644
--- a/websocket.el
+++ b/websocket.el
@@ -567,9 +567,7 @@ the `websocket-error' condition."
                        (websocket-encode-frame frame (not (websocket-server-p 
websocket)))))
 
 (defun websocket-openp (websocket)
-  ;; FIXME: "open and either connecting or open"?  I don't understand.  --Stef
-  "Check WEBSOCKET and return non-nil if it is open, and either
-connecting or open."
+  "Check WEBSOCKET and return non-nil if the connection is open."
   (and websocket
        (not (eq 'close (websocket-ready-state websocket)))
        (member (process-status (websocket-conn websocket)) '(open run))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]