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

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

[nongnu] elpa/drupal-mode d9e2137a54 229/308: Use `auto-revert-mode` and


From: ELPA Syncer
Subject: [nongnu] elpa/drupal-mode d9e2137a54 229/308: Use `auto-revert-mode` and auto-load.
Date: Tue, 25 Jan 2022 10:59:50 -0500 (EST)

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

    Use `auto-revert-mode` and auto-load.
---
 drupal-mode.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drupal-mode.el b/drupal-mode.el
index 0454b03612..0e72f340a8 100644
--- a/drupal-mode.el
+++ b/drupal-mode.el
@@ -488,6 +488,7 @@ should save your files with unix style end of line."
            (format-spec drupal-search-url `((?v . ,(drupal-major-version 
drupal-version))
                                             (?s . ,symbol)))))))))
 
+;;;###autoload
 (defun drupal-tail-drupal-debug-txt ()
   "Tail drupal_debug.txt.
 If a drupal_debug.txt exists in the sites temporary directory
@@ -506,7 +507,7 @@ buffer."
            (dd (concat tmp "/drupal_debug.txt")))
       (when (file-readable-p dd)
         (find-file-other-window dd)
-        (auto-revert-tail-mode 1)))))
+        (auto-revert-mode 1)))))
 
 (defun drupal-wrap-string-in-t-function ()
   "If point is inside a string wrap the string in the t() function."



reply via email to

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