branch: elpa/drupal-mode
commit 615de83357e27f305cd8037e1478851b37c91306
Author: Arne Jørgensen <[email protected]>
Commit: Arne Jørgensen <[email protected]>
Build tags-table when drupal-mode is entered.
We call `tags-completion-table' to build the tags-table rigth away if
a TAGS file is present in `drupal-rootdir'. This way we won't have to
wait for it when we need (i.e. tooltips for function arguments).
---
drupal/etags.el | 1 +
1 file changed, 1 insertion(+)
diff --git a/drupal/etags.el b/drupal/etags.el
index 306474b621..08e165e958 100644
--- a/drupal/etags.el
+++ b/drupal/etags.el
@@ -35,6 +35,7 @@
;; Set `tags-file-name' to the TAGS file located in
;; `drupal-rootdir'.
(setq tags-file-name (concat drupal-rootdir "TAGS"))
+ (tags-completion-table)
;; Set `drupal-symbol-collection' to `tags-completion-table' so
;; that inserting hooks will do completion based on etags.