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

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

[elpa] externals/company 25de428 1/2: Wrap executable-find in with-no-wa


From: ELPA Syncer
Subject: [elpa] externals/company 25de428 1/2: Wrap executable-find in with-no-warnings
Date: Sat, 7 Aug 2021 20:57:06 -0400 (EDT)

branch: externals/company
commit 25de42859f3d357285e12e4dee7532537bcdca17
Author: Dmitry Gutov <dgutov@yandex.ru>
Commit: Dmitry Gutov <dgutov@yandex.ru>

    Wrap executable-find in with-no-warnings
    
    For Emacs < 27, #1161.
---
 company-gtags.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/company-gtags.el b/company-gtags.el
index 1d9df5f..d1eaa4f 100644
--- a/company-gtags.el
+++ b/company-gtags.el
@@ -76,7 +76,8 @@ completion."
                      company-gtags--executable-connection)
 
        ;; Else search and set as connection local for next uses.
-       (setq-local company-gtags--executable (executable-find "global" t))
+       (setq-local company-gtags--executable
+                   (with-no-warnings (executable-find "global" t)))
        (let* ((host (file-remote-p default-directory 'host))
               (symvars (intern (concat host "-vars")))) ;; profile name
 



reply via email to

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