branch: elpa/drupal-mode
commit 4688c8f0cb8e3302e48819d7bbca0c0f169ee578
Author: Arne Jørgensen <[email protected]>
Commit: Arne Jørgensen <[email protected]>
Fixed use of `called-interactively-p'.
`called-interactively-p' requires one argument.
---
drupal-mode.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drupal-mode.el b/drupal-mode.el
index 0b5a3df5ac..b5473e2080 100644
--- a/drupal-mode.el
+++ b/drupal-mode.el
@@ -576,7 +576,7 @@ Used in `drupal-insert-hook' and `drupal-insert-function'."
;; Otherwise fall back to a very
naive
;; way of guessing the module name.
(file-name-nondirectory
(file-name-sans-extension (buffer-file-name)))))))
- (if (called-interactively-p)
+ (if (called-interactively-p 'any)
(insert name)
name)))