branch: master
commit 6d05ca522b17837b852c5e63429a151a4c03bb7c
Author: Dmitry Gutov <dgu...@yandex.ru>
Commit: Dmitry Gutov <dgu...@yandex.ru>

    Remove dead code
---
 company.el | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/company.el b/company.el
index 386f244..9a3a725 100644
--- a/company.el
+++ b/company.el
@@ -2569,11 +2569,6 @@ If SHOW-VERSION is non-nil, show the version in the echo 
area."
           new
           (company-safe-substring old (+ offset (length new)))))
 
-(defsubst company--length-limit (lst limit)
-  (if (nthcdr limit lst)
-      limit
-    (length lst)))
-
 (defsubst company--window-height ()
   (if (fboundp 'window-screen-lines)
       (floor (window-screen-lines))

Reply via email to