[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/inf-clojure 864356a 172/313: [Fix #75] Remove compilation
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/inf-clojure 864356a 172/313: [Fix #75] Remove compilation warnings (#109) |
Date: |
Wed, 11 Aug 2021 10:00:10 -0400 (EDT) |
branch: elpa/inf-clojure
commit 864356a543cac50b24c67901d1d04c4e6160070a
Author: Erik Assum <erik@assum.net>
Commit: Bozhidar Batsov <bozhidar.batsov@gmail.com>
[Fix #75] Remove compilation warnings (#109)
---
inf-clojure.el | 43 +++++++++++++++++++++----------------------
1 file changed, 21 insertions(+), 22 deletions(-)
diff --git a/inf-clojure.el b/inf-clojure.el
index 251748a..2d93d54 100644
--- a/inf-clojure.el
+++ b/inf-clojure.el
@@ -230,6 +230,26 @@ often connecting to a remote REPL process."
:safe #'inf-clojure--endpoint-p
:package-version '(inf-clojure . "2.0.0"))
+;;;; Lumo
+;;;; ====
+
+(defcustom inf-clojure--lumo-repl-form
+ "(find-ns 'lumo.repl)"
+ "Form to invoke in order to verify that we launched a Lumo REPL."
+ :type 'string
+ :safe #'stringp
+ :package-version '(inf-clojure . "2.0.0"))
+
+;;;; Planck
+;;;; ====
+
+(defcustom inf-clojure--planck-repl-form
+ "(find-ns 'planck.repl)"
+ "Form to invoke in order to verify that we launched a Planck REPL."
+ :type 'string
+ :safe #'stringp
+ :package-version '(inf-clojure . "2.0.0"))
+
(defvar-local inf-clojure-repl-type nil
"Symbol to define your REPL type.
Its root binding is nil and it can be further customized using
@@ -1067,8 +1087,7 @@ output from and including the `inf-clojure-prompt`."
(sanitized-command (inf-clojure--sanitize-command command)))
(when (not (string-empty-p sanitized-command))
(inf-clojure--log-string command "----CMD->")
- (save-excursion
- (set-buffer (get-buffer-create work-buffer))
+ (with-current-buffer (get-buffer-create work-buffer)
(erase-buffer)
(comint-redirect-send-command-to-process sanitized-command work-buffer
process nil t)
;; Wait for the process to complete
@@ -1382,26 +1401,6 @@ Note that this function will add a \n to the end of the
string
for evaluation, therefore FORM should not include it."
(funcall match-p (inf-clojure--process-response form proc nil)))
-;;;; Lumo
-;;;; ====
-
-(defcustom inf-clojure--lumo-repl-form
- "(find-ns 'lumo.repl)"
- "Form to invoke in order to verify that we launched a Lumo REPL."
- :type 'string
- :safe #'stringp
- :package-version '(inf-clojure . "2.0.0"))
-
-;;;; Planck
-;;;; ====
-
-(defcustom inf-clojure--planck-repl-form
- "(find-ns 'planck.repl)"
- "Form to invoke in order to verify that we launched a Planck REPL."
- :type 'string
- :safe #'stringp
- :package-version '(inf-clojure . "2.0.0"))
-
(provide 'inf-clojure)
;; Local variables:
- [nongnu] elpa/inf-clojure ac74e20 117/313: Kill inf-clojure-var-at-point, (continued)
- [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, 2021/08/11
- [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 <=
- [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
- [nongnu] elpa/inf-clojure c4adc89 181/313: Introduce inf-clojure-completions-fn defcustom, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure 6c719c6 197/313: Avoid leaking buffers from inf-clojure--process-response, ELPA Syncer, 2021/08/11