[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/inf-clojure 1e99b82 306/313: The redundant bit of code was
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/inf-clojure 1e99b82 306/313: The redundant bit of code was actually required (#191) |
Date: |
Wed, 11 Aug 2021 10:00:39 -0400 (EDT) |
branch: elpa/inf-clojure
commit 1e99b8246bb1fe7666d613a9ae566e2a939fc2bb
Author: dpsutton <dan@dpsutton.com>
Commit: GitHub <noreply@github.com>
The redundant bit of code was actually required (#191)
Oh, well... Bozhidar needs to pay attention to what he's deleting.
Cheers,
Bozhidar
---
inf-clojure.el | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/inf-clojure.el b/inf-clojure.el
index 88a9c86..c9ede40 100644
--- a/inf-clojure.el
+++ b/inf-clojure.el
@@ -750,9 +750,11 @@ process buffer for a list of commands.)"
nil
'confirm-after-completion))))
(let* ((project-dir (clojure-project-dir))
- (repl-buffer-name (if project-dir
- (format "*inf-clojure %s*"
(inf-clojure--project-name project-dir))
- "*inf-clojure*")))
+ (process-buffer-name (if project-dir
+ (format "inf-clojure %s"
(inf-clojure--project-name project-dir))
+ "inf-clojure"))
+ ;; comint adds the asterisks to both sides
+ (repl-buffer-name (format "*%s*" process-buffer-name)))
;; Create a new comint buffer if needed
(unless (comint-check-proc repl-buffer-name)
;; run the new process in the project's root when in a project folder
@@ -766,7 +768,7 @@ process buffer for a list of commands.)"
(inf-clojure--prompt-repl-type))))
(message "Starting Clojure REPL via `%s'..." cmd)
(with-current-buffer (apply #'make-comint
- "inf-clojure" (car cmdlist) nil (cdr
cmdlist))
+ process-buffer-name (car cmdlist) nil (cdr
cmdlist))
(inf-clojure-mode)
(setq-local inf-clojure-repl-type repl-type)
(hack-dir-local-variables-non-file-buffer))))
- [nongnu] elpa/inf-clojure dcb523b 191/313: Avoid computing completion bounds when no valid chars are at point, (continued)
- [nongnu] elpa/inf-clojure dcb523b 191/313: Avoid computing completion bounds when no valid chars are at point, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure 1507faa 119/313: Add dir support in Lumo, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure ff72d66 236/313: [Fix #171] Release 2.2.0, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure ac40726 241/313: Move all repl stuff into single nested alist, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure 24121e5 246/313: Add babashka repl and readme cleanups, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure 977e176 258/313: Mark this package as not part of Emacs, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure 4af94e6 271/313: Fixed two checkdoc warnings, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure 62abe4e 278/313: Add Emacs 27 to the CI matrix, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure fd2d774 283/313: Bump the development version, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure dd7dd78 304/313: Tweak a couple of docstrings, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure 1e99b82 306/313: The redundant bit of code was actually required (#191),
ELPA Syncer <=
- [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