branch: externals/gtags-mode commit 8734f6b54d6e9c17dcc3d9a640235c8c262eabc9 Author: Jimmy Aguilar Mena <kratsbinov...@gmail.com> Commit: Jimmy Aguilar Mena <kratsbinov...@gmail.com>
Reorder --- gtags-mode.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtags-mode.el b/gtags-mode.el index 4b3aa3f972..e67d5980ea 100644 --- a/gtags-mode.el +++ b/gtags-mode.el @@ -73,9 +73,9 @@ The address is relative on remote hosts and includes the remote prefix.") (defun gtags-mode--set-connection-locals () "Set GLOBAL connection local variables when possible and needed." (when-let* ((remote (file-remote-p default-directory)) - (criteria (connection-local-criteria-for-default-directory)) ((not (and (local-variable-p 'gtags-mode--global) (local-variable-p 'gtags-mode--gtags)))) + (criteria (connection-local-criteria-for-default-directory)) (symvars (intern (concat "gtags-mode--" remote "-vars"))) (enable-connection-local-variables t)) (unless (alist-get symvars connection-local-profile-alist)