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

    company-gtags: Revert part of a partial revert
    
    Closes #1067
---
 company-gtags.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/company-gtags.el b/company-gtags.el
index 7c93bf0..d9713d0 100644
--- a/company-gtags.el
+++ b/company-gtags.el
@@ -94,7 +94,7 @@ completion."
     (let (tags)
       ;; For some reason Global v 6.6.3 is prone to returning exit status 1
       ;; even on successful searches when '-T' is used.
-      (when (/= 3 (process-file company-gtags-executable nil
+      (when (/= 3 (process-file (company-gtags--executable) nil
                                ;; "-T" goes through all the tag files listed 
in GTAGSLIBPATH
                                (list (current-buffer) nil) nil "-xGqT" (concat 
"^" prefix)))
         (goto-char (point-min))

Reply via email to