From de2d676cbff2459c6fc9f464408d7aa3a4594125 Mon Sep 17 00:00:00 2001 From: Jacek Migacz Date: Wed, 4 Nov 2015 17:08:23 -0800 Subject: [PATCH] Whitelist for direct-helm-completing types. --- helm-gtags.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helm-gtags.el b/helm-gtags.el index bbb45c6..eced1da 100644 --- a/helm-gtags.el +++ b/helm-gtags.el @@ -290,7 +290,7 @@ Always update if value of this variable is nil." (setq prompt (format "%s(default \"%s\") " prompt tagname))) (let ((completion-ignore-case helm-gtags-ignore-case) (completing-read-function 'completing-read-default)) - (if helm-gtags-direct-helm-completing + (if (and helm-gtags-direct-helm-completing (member type '(tag rtag symbol find-file))) (helm-comp-read prompt comp-func :history 'helm-gtags--completing-history :exec-when-only-one t