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

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

[elpa] 03/14: company--posn-col-row: incf instead of decf for non-nil h-


From: Dmitry Gutov
Subject: [elpa] 03/14: company--posn-col-row: incf instead of decf for non-nil h-l-f
Date: Sat, 13 Sep 2014 12:18:59 +0000

dgutov pushed a commit to branch master
in repository elpa.

commit 0562a4d5c9c702467840a0b035d15d87b11c8daa
Author: Dmitry Gutov <address@hidden>
Date:   Tue Sep 2 01:25:58 2014 +0400

    company--posn-col-row: incf instead of decf for non-nil h-l-f
    
    http://debbugs.gnu.org/18384
---
 company.el |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/company.el b/company.el
index c70e615..3e45393 100644
--- a/company.el
+++ b/company.el
@@ -789,7 +789,8 @@ means that `company-mode' is always turned on except in 
`message-mode' buffers."
          (col (car col-row))
          (row (cdr col-row)))
     (when header-line-format
-      (cl-decf row))
+      ;; http://debbugs.gnu.org/18384
+      (cl-incf row))
     (cons (+ col (window-hscroll)) row)))
 
 (defun company--col-row (&optional pos)



reply via email to

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