diff options
| author | Bet4 <0xbet4@gmail.com> | 2019-05-19 09:43:41 +0800 |
|---|---|---|
| committer | Eivind Fonn <evfonn@gmail.com> | 2019-12-03 11:04:58 +0100 |
| commit | eaebf0dd01af7ce01ec5c494713ff8f188c18e7e (patch) | |
| tree | ec47f5c9ab995d4cb6c0991da39cdcb62132dd89 /evil-common.el | |
| parent | df23fc18cfdc6b3792043784a888a63aa20d5df2 (diff) | |
Use window-body-height to get the number of visible lines
Diffstat (limited to 'evil-common.el')
| -rw-r--r-- | evil-common.el | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/evil-common.el b/evil-common.el index 575f19f..2821525 100644 --- a/evil-common.el +++ b/evil-common.el @@ -867,10 +867,6 @@ Inhibits echo area messages, mode line updates and cursor changes." `(let ((evil-no-display t)) ,@body)) -(defun evil-num-visible-lines () - "Returns the number of currently visible lines." - (- (window-height) 1)) - (defvar evil-cached-header-line-height nil "Cached height of the header line.") |
