emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] 04/14: Fix scrolling up from the last item


From: Dmitry Gutov
Subject: [elpa] 04/14: Fix scrolling up from the last item
Date: Tue, 18 Feb 2014 05:51:01 +0000

dgutov pushed a commit to branch master
in repository elpa.

commit f48da59bfa89fe5ac7d0e8c8d8343de90c410e30
Author: Dmitry Gutov <address@hidden>
Date:   Sun Feb 9 16:28:21 2014 +0200

    Fix scrolling up from the last item
---
 company.el |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/company.el b/company.el
index cc33aa3..c67485f 100644
--- a/company.el
+++ b/company.el
@@ -1961,7 +1961,7 @@ Example: \(company-begin-with '\(\"foo\" \"foobar\" 
\"foobarbaz\"\)\)"
         scrollbar-bounds)
 
     ;; Maybe clear old offset.
-    (when (<= len (+ company-tooltip-offset limit))
+    (when (< len (+ company-tooltip-offset limit))
       (setq company-tooltip-offset 0))
 
     ;; Scroll to offset.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]