[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/xelb de71f3cdc5: Fix lint error from `make-network-proc
From: |
ELPA Syncer |
Subject: |
[elpa] externals/xelb de71f3cdc5: Fix lint error from `make-network-process` call (#19) |
Date: |
Fri, 19 Jan 2024 15:59:09 -0500 (EST) |
branch: externals/xelb
commit de71f3cdc51482ea1176870e6c5121c7d483d158
Author: Steven Allen <steven@stebalien.com>
Commit: GitHub <noreply@github.com>
Fix lint error from `make-network-process` call (#19)
The byte-compiler doesn't like the lack of a :service parameter. It
works just fine, but we might as well make it happy. It looks like
upstream Emacs source code uses `(... :family 'local :service socket)`
as well.
* xcb.el (xcb:connect-to-socket): Use :service & :family instead of
:remote to avoid the byte-compiler warning.
---
xcb.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/xcb.el b/xcb.el
index 6c2d9e7920..61f162c74d 100644
--- a/xcb.el
+++ b/xcb.el
@@ -186,7 +186,8 @@
socket)))
(setq display (frame-parameter nil 'display)
socket (xcb:display->socket display)))
- (let* ((process (make-network-process :name "XELB" :remote socket))
+ (let* ((process (make-network-process :name "XELB" :family 'local
+ :service socket))
(auth (if auth-info auth-info (xcb:create-auth-info)))
(connection (make-instance 'xcb:connection
:process process :display display
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [elpa] externals/xelb de71f3cdc5: Fix lint error from `make-network-process` call (#19),
ELPA Syncer <=