diff -r f7892d56919c -r 41ed90c3b3a3 .emacs-my --- a/.emacs-my Tue Oct 25 21:27:03 2011 +0300 +++ b/.emacs-my Wed Oct 26 15:58:03 2011 +0300 @@ -877,7 +877,7 @@ (message "logging, logs") (defun my-auto-revert-tail-mode-hook () - (when (string-match "/var/log/" + (when (string-match "/var/log/\\|\\.log\\'" (buffer-file-name (current-buffer))) (auto-revert-tail-mode 1) ))