[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/inf-clojure b61efe1 008/313: Make the completion command c
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/inf-clojure b61efe1 008/313: Make the completion command customizable |
Date: |
Wed, 11 Aug 2021 09:59:36 -0400 (EDT) |
branch: elpa/inf-clojure
commit b61efe1cfaef66e090b90bd05158fda960ffd090
Author: Bozhidar Batsov <bozhidar@tradeo.com>
Commit: Bozhidar Batsov <bozhidar@tradeo.com>
Make the completion command customizable
---
inf-clojure.el | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/inf-clojure.el b/inf-clojure.el
index 0214345..c4648c0 100644
--- a/inf-clojure.el
+++ b/inf-clojure.el
@@ -359,6 +359,10 @@ Used by these commands to determine defaults."
"(:arglists (clojure.core/meta #'%s))\n"
"Command to query inferior Clojure for a function's arglist.")
+(defvar clojure-completion-command
+ "(complete.core/completions \"%s\")\n"
+ "Command to query inferior Clojure for completion candidates.")
+
;;; Ancillary functions
;;; ===================
@@ -435,7 +439,7 @@ See variable `clojure-arglist-command'."
(unwind-protect
(let ((completion-snippet
(format
- "(complete.core/completions \"%s\")\n"
(substring-no-properties expr))))
+ clojure-completion-command (substring-no-properties expr))))
(process-send-string proc completion-snippet)
(while (and (not (string-match inf-clojure-prompt kept))
(accept-process-output proc 2)))
- [nongnu] elpa/inf-clojure f4f94f8 010/313: Introduce inf-clojure-minor-mode, (continued)
- [nongnu] elpa/inf-clojure f4f94f8 010/313: Introduce inf-clojure-minor-mode, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure 4721b8c 011/313: Fix a docstring, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure 25aee78 006/313: Use clojure-mode-variables instead of lisp-mode-variables, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure c66c08f 003/313: Use lexical binding, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure 1f6f949 019/313: Add command inf-clojure-set-ns, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure ca57a86 020/313: [Fix #3] Remove automatic addition of inf-clojure-minor-mode to clojure-mode-hook, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure 7272678 007/313: clojure -> Clojure, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure 1392907 015/313: Add command clojure-show-ns-vars, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure 1dfc5f7 023/313: Depend of clojure-mode 4.0, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure 5debecc 024/313: Release 1.0, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure b61efe1 008/313: Make the completion command customizable,
ELPA Syncer <=
- [nongnu] elpa/inf-clojure 7b377a4 013/313: Drop redundant function, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure f65ce48 021/313: Enable completion in inf-clojure-minor-mode, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure 7b9e0d1 029/313: Code style, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure ef8c830 030/313: Use #' where appropriate, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure b897bb8 031/313: Show arglist in the minibuffer for better usability, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure 89035ee 033/313: Merge pull request #9 from mavbozo/ms-windows-hang, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure dd2b4fc 038/313: Code style, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure 898a319 041/313: Improve the README a bit, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure ff20773 044/313: Release 1.2.0, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure 0652692 012/313: Preprocess the output from interactive commands, ELPA Syncer, 2021/08/11