author | Oleksandr Gavenko <gavenkoa@gmail.com> |
Wed, 26 Oct 2011 15:58:03 +0300 | |
changeset 759 | 41ed90c3b3a3 |
parent 758 | f7892d56919c |
child 760 | 5d452486f388 |
--- 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) ))