Minor refactor, reformat & comment revision
This commit is contained in:
parent
0c39e73a1e
commit
5ef94de541
5 changed files with 7 additions and 9 deletions
|
@ -92,9 +92,8 @@
|
|||
|
||||
;; Until sebastiencs/company-box#40 is merged
|
||||
(defun +company*box-frontend-even-if-single (command)
|
||||
(cond ((eq command 'hide)
|
||||
(company-box-hide))
|
||||
((equal company-candidates-length 0)
|
||||
(cond ((or (eq command 'hide)
|
||||
(equal company-candidates-length 0))
|
||||
(company-box-hide))
|
||||
((eq command 'update)
|
||||
(company-box-show))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue