Merge pull request #85 from mads379/master
Close *Completions* buffer after evaluation
This commit is contained in:
commit
8545a6e048
|
@ -628,9 +628,11 @@ it is started."
|
||||||
;; End of completion
|
;; End of completion
|
||||||
((string= command "completion-stop")
|
((string= command "completion-stop")
|
||||||
(utop-set-state 'edit)
|
(utop-set-state 'edit)
|
||||||
|
(if (> (length utop-completion) 1)
|
||||||
(with-current-buffer utop-complete-buffer
|
(with-current-buffer utop-complete-buffer
|
||||||
(with-output-to-temp-buffer "*Completions*"
|
(with-output-to-temp-buffer "*Completions*"
|
||||||
(display-completion-list (nreverse utop-completion))))
|
(display-completion-list (nreverse utop-completion))))
|
||||||
|
(minibuffer-hide-completions))
|
||||||
(setq utop-completion nil)))))
|
(setq utop-completion nil)))))
|
||||||
|
|
||||||
(defun utop-process-output (process output)
|
(defun utop-process-output (process output)
|
||||||
|
|
Loading…
Reference in New Issue