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

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

[elpa] externals/company 9de449cbf5 2/3: Adapt to the change of derived-


From: ELPA Syncer
Subject: [elpa] externals/company 9de449cbf5 2/3: Adapt to the change of derived-mode-p's calling convention upstream
Date: Tue, 28 Nov 2023 09:57:33 -0500 (EST)

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

    Adapt to the change of derived-mode-p's calling convention upstream
---
 company-gtags.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/company-gtags.el b/company-gtags.el
index 3790855cf6..9934338af2 100644
--- a/company-gtags.el
+++ b/company-gtags.el
@@ -141,7 +141,7 @@ completion."
     (interactive (company-begin-backend 'company-gtags))
     (prefix (and (company-gtags--executable)
                  buffer-file-name
-                 (apply #'derived-mode-p company-gtags-modes)
+                 (cl-some #'derived-mode-p company-gtags-modes)
                  (not (company-in-string-or-comment))
                  (company-gtags--tags-available-p)
                  (or (company-grab-symbol) 'stop)))



reply via email to

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