|
@@ -1076,7 +1076,8 @@ found, otherwise returns nil." |
|
|
(not company-candidates)) |
|
|
(not company-candidates)) |
|
|
(unwind-protect |
|
|
(unwind-protect |
|
|
(progn |
|
|
(progn |
|
|
(company-auto-begin) |
|
|
|
|
|
|
|
|
;; (company-auto-begin) |
|
|
|
|
|
(company-manual-begin) |
|
|
(setq l company-candidates-length)) |
|
|
(setq l company-candidates-length)) |
|
|
(company-cancel))) |
|
|
(company-cancel))) |
|
|
(if l |
|
|
(if l |
|
@@ -1084,6 +1085,7 @@ found, otherwise returns nil." |
|
|
""))) |
|
|
""))) |
|
|
|
|
|
|
|
|
(defvar company-lighter) |
|
|
(defvar company-lighter) |
|
|
|
|
|
(set-variable 'company-lighter-base "Cmp") |
|
|
(add-to-list 'company-lighter |
|
|
(add-to-list 'company-lighter |
|
|
'(:eval (my-company-lighter-current-length)) |
|
|
'(:eval (my-company-lighter-current-length)) |
|
|
t) |
|
|
t) |
|
|