diff options
| author | shipmints <shipmints@gmail.com> | 2025-02-09 10:52:11 -0500 |
|---|---|---|
| committer | shipmints <shipmints@gmail.com> | 2025-02-09 10:52:11 -0500 |
| commit | b54df5838159abf760a48de2fd33b21cabd12e66 (patch) | |
| tree | 45803a8682645658b5dc02d0d8942cf114e05b0a | |
| parent | a9ce5a63d37c0a5ab3603d168599c72fbd57da50 (diff) | |
Correct documentation and bump version for ELPAexternals/autorevert-tail-truncate
Remove references to auto-revert-tail-mode-on-log-files.
| -rw-r--r-- | README.md | 7 | ||||
| -rw-r--r-- | autorevert-tail-truncate.el | 5 |
2 files changed, 2 insertions, 10 deletions
@@ -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 7bf761e..235c997 100644 --- a/autorevert-tail-truncate.el +++ b/autorevert-tail-truncate.el @@ -6,7 +6,7 @@ ;; Maintainer: Stephane Marks <shipmints@gmail.com> ;; 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: |
