[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/dape 7a869a5c92 04/13: Improve formatting in `dape--con
From: |
ELPA Syncer |
Subject: |
[elpa] externals/dape 7a869a5c92 04/13: Improve formatting in `dape--config-from-string' |
Date: |
Tue, 5 Mar 2024 18:57:49 -0500 (EST) |
branch: externals/dape
commit 7a869a5c92755d828322a50344b6a209310ae170
Author: Daniel Pettersson <daniel@dpettersson.net>
Commit: Daniel Pettersson <daniel@dpettersson.net>
Improve formatting in `dape--config-from-string'
---
dape.el | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/dape.el b/dape.el
index 91ddf1b8df..b4c7f24db7 100644
--- a/dape.el
+++ b/dape.el
@@ -4310,8 +4310,12 @@ If LOOSE-PARSING is non nil ignore arg parsing failures."
(user-error "No configuration named `%s'" name))
(setq base-config (copy-tree (alist-get name dape-configs)))
(condition-case _
- ;; FIXME ugly
- (while (not (string-empty-p (string-trim (buffer-substring (point)
(point-max)))))
+ (while
+ ;; Do we have non whitespace chars after `point'?
+ (thread-first (buffer-substring (point) (point-max))
+ (string-trim)
+ (string-empty-p)
+ (not))
(push (read (current-buffer))
read-config))
(error
- [elpa] externals/dape updated (2ec2a29662 -> 98c3865e56), ELPA Syncer, 2024/03/05
- [elpa] externals/dape c454c1aa2f 01/13: Simplify output event, ELPA Syncer, 2024/03/05
- [elpa] externals/dape 36422f0f57 03/13: Fix formatting in `dape--config-eval', ELPA Syncer, 2024/03/05
- [elpa] externals/dape f76af2ad10 02/13: Improve documentation on `dape--config-ensure', ELPA Syncer, 2024/03/05
- [elpa] externals/dape af99b57032 07/13: Improve formatting in `dape--config-diff', ELPA Syncer, 2024/03/05
- [elpa] externals/dape 7a869a5c92 04/13: Improve formatting in `dape--config-from-string',
ELPA Syncer <=
- [elpa] externals/dape bca98f4395 08/13: Rework function evaluation in minibuffer hints, ELPA Syncer, 2024/03/05
- [elpa] externals/dape 610576b4e6 11/13: Fix hint buffer error face, ELPA Syncer, 2024/03/05
- [elpa] externals/dape 75cf39ad2f 06/13: Improve formatting `dape--config-diff', ELPA Syncer, 2024/03/05
- [elpa] externals/dape e79a7b9ebb 05/13: Improve documentation of `dape--config-from-string', ELPA Syncer, 2024/03/05
- [elpa] externals/dape 0abcd8836f 09/13: Show value evaluation error in hint minibuffer, ELPA Syncer, 2024/03/05
- [elpa] externals/dape 7c4203dc89 12/13: Add `dape-config-get' to evaluate config key value, ELPA Syncer, 2024/03/05
- [elpa] externals/dape 725c50b692 10/13: Use lambda functions instead of named functions in dape-configs, ELPA Syncer, 2024/03/05
- [elpa] externals/dape 98c3865e56 13/13: Add `debugpy-module' default configuration, ELPA Syncer, 2024/03/05