Skip to content

Commit c4fb9be

Browse files
committed
Fix completion when session is not running
1 parent f249c59 commit c4fb9be

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

eca-completion.el

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,8 @@ Call ON-ERROR when error."
190190
(when (and (buffer-live-p buffer)
191191
(equal (current-buffer) buffer)
192192
(boundp 'eca-completion-mode)
193-
eca-completion-mode)
193+
eca-completion-mode
194+
(eca-session))
194195
(eca-complete)))
195196

196197
(defun eca-completion--inserted-next-overlay-char-p (command)

0 commit comments

Comments
 (0)