[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/inf-clojure 4e96e93 147/313: Fix a bug causing read to out
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/inf-clojure 4e96e93 147/313: Fix a bug causing read to output for expression |
Date: |
Wed, 11 Aug 2021 10:00:04 -0400 (EDT) |
branch: elpa/inf-clojure
commit 4e96e936a760c48d55f60b395a5ef65a69dd13cc
Author: Andrea Richiardi <a.richiardi.work@gmail.com>
Commit: Bozhidar Batsov <bozhidar.batsov@gmail.com>
Fix a bug causing read to output for expression
---
CHANGELOG.md | 4 ++++
inf-clojure.el | 2 +-
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index b2e8e2a..e9c035b 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,6 +2,10 @@
## master (unreleased)
+### Bugs Fixed
+
+* [#77](https://github.com/clojure-emacs/inf-clojure/pull/77): Fix request
"Eval expression:" if arglists return is `nil`.
+
## 2.0.0 (2017-05-01)
### New Features
diff --git a/inf-clojure.el b/inf-clojure.el
index 88a9d6a..2f32015 100644
--- a/inf-clojure.el
+++ b/inf-clojure.el
@@ -978,7 +978,7 @@ the results buffer. It cuts out the output from
See variable `inf-clojure-arglists-form'."
(let* ((arglists-snippet (format (inf-clojure-arglists-form) fn))
(arglists-result (inf-clojure-results-from-process (inf-clojure-proc)
arglists-snippet))
- (arglists-data (read arglists-result)))
+ (arglists-data (when arglists-result (read arglists-result))))
(cond
((null arglists-data) nil)
((stringp arglists-data) arglists-data)
- [nongnu] elpa/inf-clojure 9caed3e 092/313: Update the copyright years, (continued)
- [nongnu] elpa/inf-clojure 9caed3e 092/313: Update the copyright years, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure 3e22747 096/313: Use setq-local, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure d04c36c 107/313: [Fix #31] Add basic project type support, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure 862699e 102/313: [Fix #41] Add a command to quit REPL buffers, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure b02ce23 118/313: Add arglists support in Lumo, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure ce0510b 124/313: Split inf-clojure-load-form by repl type, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure 887da91 133/313: Use inf-clojure--sanitize-command everywhere, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure db9e985 130/313: Rename to arglists (plural) everywhere, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure b50102f 128/313: [Fix #58] Add a function to connect to remote socket repl (#68), ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure 6179a74 142/313: Extend the REPL type section of the README, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure 4e96e93 147/313: Fix a bug causing read to output for expression,
ELPA Syncer <=
- [nongnu] elpa/inf-clojure 9ba23b0 149/313: Wrap a long line, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure 956b22e 148/313: Release 2.0.1, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure 74e8423 150/313: Fix get-completions for lumo (#81), ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure 9fa8f37 153/313: Disable pretty print when fetching lumo arglists, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure f666f60 154/313: [Fix #79] Disable coloring for the boot repl (#82), ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure 1a71b5e 163/313: Rephrase process logging description a bit, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure ee38fc3 164/313: [Fix #96] Use inf-clojure--send-string instead of comint-proc-query, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure 7493ed8 166/313: Set inf-clojure-*-cmd :risky and :safe properties, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure b048358 173/313: Add expression break chars and prevent completions for numbers (#110), ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure 8c27b06 177/313: Introduce the tools.deps project type, ELPA Syncer, 2021/08/11