branch: externals/gtags-mode
commit b16d6bd4f238c6534c7a3c287dab19cb17110af9
Author: Jimmy Aguilar Mena <kratsbinov...@gmail.com>
Commit: Jimmy Aguilar Mena <kratsbinov...@gmail.com>

    Fix typo
---
 gtags-mode.el | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/gtags-mode.el b/gtags-mode.el
index 9a50e9c646..7ab2758ff3 100644
--- a/gtags-mode.el
+++ b/gtags-mode.el
@@ -180,9 +180,9 @@ Returns the process object."
   (if-let* ((cmd (buffer-local-value cmd (current-buffer)))
            (command (append `(,cmd) (string-split gtags-mode-update-args) 
args))
            (start-time (current-time))
-           (and (not gtags-mode--pr-async)
-                (gtags-mode--message 1 "Cannot run command: There is a gtags 
or global process already running.")
-                t)
+           ((and (not gtags-mode--pr-async)
+                 (gtags-mode--message 1 "Cannot run command: There is a gtags 
or global process already running.")
+                 t))
            (pr (make-process :name (format "%s-async" cmd)
                              :buffer (generate-new-buffer " *temp*" t)
                              :command command

Reply via email to