branch: externals/dtache commit 2c4520a3c57a7cd9b2eda134b335d72ca2aa5277 Author: Niklas Eklund <niklas.ekl...@posteo.net> Commit: Niklas Eklund <niklas.ekl...@posteo.net>
Add missing variable to tail-mode This commit adds the revert-buffer-preserve-modes variable and set it to nil. The variable was missing otherwise and Emacs was complaining. --- dtache.el | 1 + 1 file changed, 1 insertion(+) diff --git a/dtache.el b/dtache.el index 82838d59f6..a252a52017 100644 --- a/dtache.el +++ b/dtache.el @@ -688,6 +688,7 @@ the current time is used." (define-derived-mode dtache-tail-mode auto-revert-tail-mode "Dtache Tail" "Major mode for tailing dtache logs." (setq-local auto-revert-interval dtache-tail-interval) + (setq-local revert-buffer-preserve-modes nil) (auto-revert-set-timer) (setq-local auto-revert-verbose nil) (auto-revert-tail-mode)