[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/inf-clojure 15963ca 162/313: Trim the string before checki
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/inf-clojure 15963ca 162/313: Trim the string before checking nil |
Date: |
Wed, 11 Aug 2021 10:00:07 -0400 (EDT) |
branch: elpa/inf-clojure
commit 15963caac5791c2e9145cc99e4db8576807eb0ec
Author: Andrea Richiardi <a.richiardi.work@gmail.com>
Commit: Bozhidar Batsov <bozhidar.batsov@gmail.com>
Trim the string before checking nil
---
inf-clojure.el | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/inf-clojure.el b/inf-clojure.el
index 38ff07c..be5bd67 100644
--- a/inf-clojure.el
+++ b/inf-clojure.el
@@ -961,7 +961,7 @@ in case this is not nil." )
(defun inf-clojure--log-string (string &optional tag)
"Log STRING to file, according to `inf-clojure-log-response'.
-The optional TYPE will be converted to string and printed before
+The optional TAG will be converted to string and printed before
STRING if present."
(when inf-clojure-log-activity
(write-region (concat "\n"
@@ -1062,9 +1062,9 @@ for evaluation, therefore FORM should not include it."
(defun inf-clojure--some-response-p (proc form)
"Return true iff PROC's response after evaluating FORM is not nil."
(inf-clojure--process-response-match-p
- (lambda (string)
- (not (inf-clojure--nil-string-match-p string)))
- proc form))
+ (lambda (string)
+ (not (inf-clojure--nil-string-match-p (string-trim string))))
+ proc form))
;;;; Commands
;;;; ========
- [nongnu] elpa/inf-clojure 3929054 113/313: Modify CHANGELOG and README for REPL types, (continued)
- [nongnu] elpa/inf-clojure 3929054 113/313: Modify CHANGELOG and README for REPL types, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure d265232 115/313: Fix a problem with pcase on inf-clojure-repl-type, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure ac74e20 117/313: Kill inf-clojure-var-at-point, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure cfad839 122/313: Officially support lumo -d (dumb terminal) only, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure dda0a43 125/313: Fix newline append on eval functions, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure 896edd1 131/313: Handle inf-clojure-arglists corner cases, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure ebd1494 135/313: Support lumo's apropos, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure 2341aa2 136/313: Support lumo's source, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure 1014e24 141/313: Extend the README a bit, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure 4a87862 161/313: Calculate response boundaries explicitly, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure 15963ca 162/313: Trim the string before checking nil,
ELPA Syncer <=
- [nongnu] elpa/inf-clojure aaaeef6 167/313: Set string safety for all the form defcustoms, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure 864356a 172/313: [Fix #75] Remove compilation warnings (#109), ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure 5d76920 176/313: Introduce inf-clojure-project-type defcustom, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure f4478ad 183/313: Fix and reword docstring, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure d4010db 190/313: Add @ (deref) and ^ to the expression breaking chars, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure 37b30be 157/313: Bind C-c M-c to inf-clojure-connect, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure 49b8c4b 159/313: Restyle inf-clojure-log-activity output, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure 21d3e97 171/313: Bump the development version to 2.1.0-snapshot, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure 39e794c 168/313: Protect against empty commands, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure ae43e2e 178/313: [Fix #113] Send REPL string always, even if empty, ELPA Syncer, 2021/08/11