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

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

[nongnu] elpa/inf-clojure d89b8ce 005/313: [Fix #1] Get completion-at-po


From: ELPA Syncer
Subject: [nongnu] elpa/inf-clojure d89b8ce 005/313: [Fix #1] Get completion-at-point to a working state
Date: Wed, 11 Aug 2021 09:59:35 -0400 (EDT)

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

    [Fix #1] Get completion-at-point to a working state
---
 inf-clojure.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/inf-clojure.el b/inf-clojure.el
index 4b85cef..60fcc99 100644
--- a/inf-clojure.el
+++ b/inf-clojure.el
@@ -166,7 +166,7 @@ Clojure source.
     `switch-to-clojure' switches the current buffer to the Clojure process 
buffer.
     `clojure-eval-defun' sends the current defun to the Clojure process.
     `clojure-eval-region' sends the current region to the Clojure process.
-    
+
     Prefixing the clojure-eval/defun/region commands with
     a \\[universal-argument] causes a switch to the Clojure process buffer 
after sending
     the text.
@@ -439,7 +439,7 @@ See variable `clojure-arglist-command'."
           (process-send-string proc completion-snippet)
           (while (and (not (string-match inf-clojure-prompt kept))
                       (accept-process-output proc 2)))
-          (setq completions (butlast (split-string kept "\r?\n") 2))
+          (setq completions (read kept))
           ;; Subprocess echoes output on Windows and OS X.
           (when (and completions (string= (concat (car completions) "\n") 
completion-snippet))
             (setq completions (cdr completions))))



reply via email to

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