[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/drepl 3be39d056f 2/9: Guard against return value t from
From: |
ELPA Syncer |
Subject: |
[elpa] externals/drepl 3be39d056f 2/9: Guard against return value t from while-no-input |
Date: |
Thu, 4 Apr 2024 15:57:57 -0400 (EDT) |
branch: externals/drepl
commit 3be39d056f96be6cbed63f51a4cab2a75b538e82
Author: Augusto Stoffel <arstoffel@gmail.com>
Commit: Augusto Stoffel <arstoffel@gmail.com>
Guard against return value t from while-no-input
---
drepl.el | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/drepl.el b/drepl.el
index 3101616bee..334a1454ae 100644
--- a/drepl.el
+++ b/drepl.el
@@ -329,10 +329,11 @@ interactively."
(drepl--communicate repl 'sync 'complete
:code code
:offset offset))))
- (mapcar (lambda (c)
- (let-alist c
- (propertize .text 'drepl--annot .annot)))
- (alist-get 'candidates response))))
+ (when (listp response)
+ (mapcar (lambda (c)
+ (let-alist c
+ (propertize .text 'drepl--annot .annot)))
+ (alist-get 'candidates response)))))
(defun drepl--complete ()
"Function intended for use as a member of `completion-at-point-functions'."
- [elpa] externals/drepl updated (033ada13c0 -> fc0b28b8b2), ELPA Syncer, 2024/04/04
- [elpa] externals/drepl 9795880fb5 3/9: Enable completion with an empty prefix, ELPA Syncer, 2024/04/04
- [elpa] externals/drepl 3b8c4697dd 8/9: Refine header and commentary section, ELPA Syncer, 2024/04/04
- [elpa] externals/drepl 3be39d056f 2/9: Guard against return value t from while-no-input,
ELPA Syncer <=
- [elpa] externals/drepl e36f22d76e 1/9: Don't pop to REPL buffer when restarting it, ELPA Syncer, 2024/04/04
- [elpa] externals/drepl a9702701ee 4/9: Add a new REPL state 'rawio' to avoid race conditions, ELPA Syncer, 2024/04/04
- [elpa] externals/drepl 2339e68a98 5/9: Guard against some nil values, ELPA Syncer, 2024/04/04
- [elpa] externals/drepl cc980b0d52 7/9: Improve REPL initialization process, ELPA Syncer, 2024/04/04
- [elpa] externals/drepl 30713ad02e 6/9: Separate message transport from protocol logic, ELPA Syncer, 2024/04/04
- [elpa] externals/drepl fc0b28b8b2 9/9: Version 0.2, ELPA Syncer, 2024/04/04