branch: externals/autorevert-tail-truncate
commit b54df5838159abf760a48de2fd33b21cabd12e66
Author: shipmints <[email protected]>
Commit: shipmints <[email protected]>
Correct documentation and bump version for ELPA
Remove references to auto-revert-tail-mode-on-log-files.
---
README.md | 7 +------
autorevert-tail-truncate.el | 5 +----
2 files changed, 2 insertions(+), 10 deletions(-)
diff --git a/README.md b/README.md
index d9ecdcba7e..8f3f165823 100644
--- a/README.md
+++ b/README.md
@@ -16,9 +16,6 @@ Add a function (example, below) to
`auto-revert-tail-truncate-mode-hook` to cont
e.g., `truncate-lines`, controlling `so-long-mode` threshold, disabling spell
checking, or enabling other minor modes for
specific log-file formats (the visual features of which may require you to
enable font-lock for those buffers).
-If you want this mode enabled for all *.log files, run the command
-`auto-revert-tail-mode-on-log-files` or add this to your `init.el` file.
-
Refer to the source code or docstrings for details on user options.
## Installation
@@ -59,9 +56,7 @@ Or, if you use Emacs 30+, uncomment the :vc stanza, below.
(jinx-mode -1))
(when (fboundp 'show-smartparens-mode)
(show-smartparens-mode -1)))
- (add-hook 'auto-revert-tail-truncate-mode-hook
#'my/auto-revert-tail-truncate-mode-hook)
- ;; add auto-mode-alist entry for .log files to use auto-revert-tail-mode
- (auto-revert-tail-mode-on-log-files))
+ (add-hook 'auto-revert-tail-truncate-mode-hook
#'my/auto-revert-tail-truncate-mode-hook))
```
To invoke the mode interactively, use `M-x auto-revert-tail-truncate-mode`.
diff --git a/autorevert-tail-truncate.el b/autorevert-tail-truncate.el
index 7bf761e550..235c99729b 100644
--- a/autorevert-tail-truncate.el
+++ b/autorevert-tail-truncate.el
@@ -6,7 +6,7 @@
;; Maintainer: Stephane Marks <[email protected]>
;; Url: https://github.com/shipmints/autorevert-tail-truncate.el
;; Created: 2025-02-03
-;; Version: 1.0.0
+;; Version: 1.0.1
;; Package-Requires: ((emacs "29.1"))
;; Keywords: convenience, tools, log files, autorevert
@@ -45,9 +45,6 @@
;; enabling other minor modes for specific log-file formats (the
;; visual features of which may require you to enable font-lock for
;; those buffers).
-;;
-;; If you want this mode enabled for all *.log files, run the command
-;; `auto-revert-tail-mode-on-log-files'.
;;; Code: