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

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

[elpa] externals/company 81f43040d1 4/7: Fix CI try #2


From: ELPA Syncer
Subject: [elpa] externals/company 81f43040d1 4/7: Fix CI try #2
Date: Thu, 9 Nov 2023 21:57:31 -0500 (EST)

branch: externals/company
commit 81f43040d19c17b00d8869679a5607121e37d64b
Author: Dmitry Gutov <dmitry@gutov.dev>
Commit: Dmitry Gutov <dmitry@gutov.dev>

    Fix CI try #2
---
 company.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/company.el b/company.el
index 880dbe608d..de357e9868 100644
--- a/company.el
+++ b/company.el
@@ -1059,7 +1059,8 @@ means that `company-mode' is always turned on except in 
`message-mode' buffers."
 
 (defun company--posn-col-row (posn)
   (let* ((col-row (if (>= emacs-major-version 29)
-                      (posn-col-row posn t)
+                      (with-no-warnings  ;with 2 arguments, but accepts only 1
+                        (posn-col-row posn t))
                     (posn-col-row posn)))
          (col (car col-row))
          ;; `posn-col-row' doesn't work well with lines of different height.



reply via email to

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