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

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

[elpa] externals/websocket da237af723 076/114: Fix confusing documentati


From: ELPA Syncer
Subject: [elpa] externals/websocket da237af723 076/114: Fix confusing documentation string in `websocket-openp'.
Date: Wed, 15 Feb 2023 20:59:01 -0500 (EST)

branch: externals/websocket
commit da237af723a92879a197d222226743688f524d50
Author: Andrew Hyatt <ahyatt@gmail.com>
Commit: Andrew Hyatt <ahyatt@gmail.com>

    Fix confusing documentation string in `websocket-openp'.
---
 websocket.el | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/websocket.el b/websocket.el
index 6a1754de02..ffd22f4e73 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]