emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/inf-clojure f65ce48 021/313: Enable completion in inf-cloj


From: ELPA Syncer
Subject: [nongnu] elpa/inf-clojure f65ce48 021/313: Enable completion in inf-clojure-minor-mode
Date: Wed, 11 Aug 2021 09:59:38 -0400 (EDT)

branch: elpa/inf-clojure
commit f65ce4846a55b89bc363ccfa4b7655be1533299b
Author: Bozhidar Batsov <bozhidar@tradeo.com>
Commit: Bozhidar Batsov <bozhidar@tradeo.com>

    Enable completion in inf-clojure-minor-mode
---
 inf-clojure.el | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/inf-clojure.el b/inf-clojure.el
index ccf9c41..dc4df1f 100644
--- a/inf-clojure.el
+++ b/inf-clojure.el
@@ -109,7 +109,10 @@ mode.  Default is whitespace followed by 0 or 1 
single-letter colon-keyword
 The following commands are available:
 
 \\{inf-clojure-minor-mode-map}"
-  :lighter "" :keymap inf-clojure-minor-mode-map)
+  :lighter "" :keymap inf-clojure-minor-mode-map
+  (make-local-variable 'completion-at-point-functions)
+  (add-to-list 'completion-at-point-functions
+               'inf-clojure-completion-at-point))
 
 (defcustom inf-clojure-program "lein repl"
   "Program name for invoking an inferior Clojure in Inferior Clojure mode."



reply via email to

[Prev in Thread] Current Thread [Next in Thread]