branch: externals/company
commit 3a27fd960ac76a98c166c03be5145815f30ddd0b
Author: Dmitry Gutov <dgu...@yandex.ru>
Commit: Dmitry Gutov <dgu...@yandex.ru>

    company-gtags--executable: Don't create local values unnecessarily
---
 company-gtags.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/company-gtags.el b/company-gtags.el
index f298c67..06a303b 100644
--- a/company-gtags.el
+++ b/company-gtags.el
@@ -85,8 +85,8 @@ completion."
           `((company-gtags--executable-connection . 
,company-gtags--executable)))
 
          (connection-local-set-profiles `(:machine ,host) symvars)))))
-   (t                                     ;; use default value (searched 
locally)
-    (setq-local company-gtags--executable company-gtags-executable))))
+   (t     ;; use default value (searched locally)
+    company-gtags-executable)))
 
 (defun company-gtags--fetch-tags (prefix)
   "Call global executable "

Reply via email to