Browse Source

Ignore errors

master
10sr 5 years ago
parent
commit
0acab0c2ef
Signed by: 10sr GPG Key ID: 7BEC428194130EB2
1 changed files with 4 additions and 5 deletions
  1. +4
    -5
      emacs.el

+ 4
- 5
emacs.el View File

@@ -1110,11 +1110,10 @@ found, otherwise returns nil."
(not (minibufferp))
;; Do nothing when already in company completion
(not company-candidates))
(unwind-protect
(progn
;; (company-auto-begin)
(company-manual-begin)
(setq l company-candidates-length))
(ignore-errors
;; (company-auto-begin)
(company-manual-begin)
(setq l company-candidates-length)
(company-cancel)))
(if l
(format "[%d]" l)


Loading…
Cancel
Save