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

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

[elpa] master 1cc901d 2/2: Fix confusing documentation string in websock


From: Andrew Hyatt
Subject: [elpa] master 1cc901d 2/2: Fix confusing documentation string in websocket library.
Date: Wed, 5 Jun 2019 23:01:44 -0400 (EDT)

branch: master
commit 1cc901d3cca02a52f8a725870447be57a68c91dd
Author: Andrew Hyatt <address@hidden>
Commit: Andrew Hyatt <address@hidden>

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

diff --git a/packages/websocket/websocket.el b/packages/websocket/websocket.el
index 6d8d954..4c8b040 100644
--- a/packages/websocket/websocket.el
+++ b/packages/websocket/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]