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

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

[elpa] externals/dtache 2c4520a3c5 015/158: Add missing variable to tail


From: ELPA Syncer
Subject: [elpa] externals/dtache 2c4520a3c5 015/158: Add missing variable to tail-mode
Date: Wed, 19 Jan 2022 18:57:40 -0500 (EST)

branch: externals/dtache
commit 2c4520a3c57a7cd9b2eda134b335d72ca2aa5277
Author: Niklas Eklund <niklas.eklund@posteo.net>
Commit: Niklas Eklund <niklas.eklund@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)



reply via email to

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