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

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

[elpa] 12/14: company--posn-col-row: add comment


From: Dmitry Gutov
Subject: [elpa] 12/14: company--posn-col-row: add comment
Date: Sat, 13 Sep 2014 12:19:04 +0000

dgutov pushed a commit to branch master
in repository elpa.

commit cf60a6b635c81feed633c683931b9575df460a8b
Author: Dmitry Gutov <address@hidden>
Date:   Sat Sep 13 16:14:46 2014 +0400

    company--posn-col-row: add comment
---
 company.el |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/company.el b/company.el
index 0991f6d..af125d0 100644
--- a/company.el
+++ b/company.el
@@ -773,6 +773,8 @@ means that `company-mode' is always turned on except in 
`message-mode' buffers."
 
 (defun company--posn-col-row (posn)
   (let ((col (car (posn-col-row posn)))
+        ;; `posn-col-row' doesn't work well with lines of different height.
+        ;; `posn-actual-col-row' doesn't handle multiple-width characters.
         (row (cdr (posn-actual-col-row posn))))
     (when (and header-line-format (version< emacs-version "24.3.93.3"))
       ;; http://debbugs.gnu.org/18384



reply via email to

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