checked for the wrong toggle state :/

This commit is contained in:
Nathan Shostek 2020-03-07 21:11:06 +01:00
parent 38545872f5
commit 35543344a9

View file

@ -791,7 +791,7 @@ functions are passed this structure as their first argument."
(completion
(emacs-style-command-complete
(car (split-seq (input-line-string input) " ")))))
(if (and toggle (= 1 (length completion)))
(if (and (not toggle) (= 1 (length completion)))
(progn
(input-replace-line input (car completion))
(input-insert-char input #\space))