branch: elpa/drupal-mode
commit 8d57a2a3d6f0fa0e06d10570606fc265bfc261d6
Author: Arne Jørgensen <[email protected]>
Commit: Arne Jørgensen <[email protected]>
Added `hash-table-p` check.
---
drupal-mode.el | 1 +
1 file changed, 1 insertion(+)
diff --git a/drupal-mode.el b/drupal-mode.el
index 197a18da83..780763603f 100644
--- a/drupal-mode.el
+++ b/drupal-mode.el
@@ -392,6 +392,7 @@ should save your files with unix style end of line."
(when symbol
(cond
((and (boundp 'php-extras-function-arguments)
+ (hash-table-p 'php-extras-function-arguments)
(gethash (symbol-name symbol) php-extras-function-arguments))
(php-search-documentation))
((and drupal-drush-program (string-match "drush" (symbol-name symbol)))