branch: master commit cecf6a988eb48b2f877de44666d3453b2c5e8a96 Author: Dmitry Gutov <dgu...@yandex.ru> Commit: Dmitry Gutov <dgu...@yandex.ru>
company--window-width: Make it a defun #249 --- company.el | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/company.el b/company.el index aad2e65..a7a5370 100644 --- a/company.el +++ b/company.el @@ -2218,7 +2218,7 @@ If SHOW-VERSION is non-nil, show the version in the echo area." (floor (window-screen-lines)) (window-body-height))) -(defsubst company--window-width () +(defun company--window-width () (let ((ww (window-body-width))) ;; Account for the line continuation column. (when (zerop (cadr (window-fringes)))