瀏覽代碼

Ignore errors

master
10sr 5 年之前
父節點
當前提交
0acab0c2ef
簽署人: 10sr GPG Key ID: 7BEC428194130EB2
共有 1 個文件被更改,包括 4 次插入5 次删除
  1. +4
    -5
      emacs.el

+ 4
- 5
emacs.el 查看文件

@@ -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…
取消
儲存