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

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

[elpa] 06/16: +1 char, -1 line


From: Dmitry Gutov
Subject: [elpa] 06/16: +1 char, -1 line
Date: Sat, 26 Jul 2014 04:53:20 +0000

dgutov pushed a commit to branch master
in repository elpa.

commit 2f02d303132e9aa8342bb92f6d634387fbc62505
Author: Dmitry Gutov <address@hidden>
Date:   Mon Jul 14 07:38:47 2014 +0300

    +1 char, -1 line
---
 company.el |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/company.el b/company.el
index d8c2ae7..8707517 100644
--- a/company.el
+++ b/company.el
@@ -2438,8 +2438,7 @@ Returns a negative number if the tooltip should be 
displayed above point."
   (cl-case command
     (pre-command (company-pseudo-tooltip-hide-temporarily))
     (post-command
-     (unless (and
-              (overlayp company-pseudo-tooltip-overlay)
+     (unless (when (overlayp company-pseudo-tooltip-overlay)
               (let* ((ov company-pseudo-tooltip-overlay)
                      (old-height (overlay-get ov 'company-height))
                      (new-height (company--pseudo-tooltip-height)))



reply via email to

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