emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/drupal-mode 4688c8f0cb 101/308: Fixed use of `called-inter


From: ELPA Syncer
Subject: [nongnu] elpa/drupal-mode 4688c8f0cb 101/308: Fixed use of `called-interactively-p'.
Date: Tue, 25 Jan 2022 10:59:34 -0500 (EST)

branch: elpa/drupal-mode
commit 4688c8f0cb8e3302e48819d7bbca0c0f169ee578
Author: Arne Jørgensen <arne@arnested.dk>
Commit: Arne Jørgensen <arne@arnested.dk>

    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)))
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]