branch: elpa/drupal-mode
commit d9e2137a54575626572500b6bbda6bd72bb79382
Author: Arne Jørgensen <[email protected]>
Commit: Arne Jørgensen <[email protected]>

    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