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

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

[nongnu] elpa/anzu 9c56ab9875 014/288: Update document about anzu-cons-m


From: ELPA Syncer
Subject: [nongnu] elpa/anzu 9c56ab9875 014/288: Update document about anzu-cons-mode-line-p
Date: Thu, 6 Jan 2022 03:58:35 -0500 (EST)

branch: elpa/anzu
commit 9c56ab987534ead52f5f5b00f8e02b69892ce09d
Author: Syohei YOSHIDA <syohex@gmail.com>
Commit: Syohei YOSHIDA <syohex@gmail.com>

    Update document about anzu-cons-mode-line-p
---
 README.md                   |  16 ++++++++++++++++
 image/anzu-any-position.png | Bin 0 -> 33418 bytes
 2 files changed, 16 insertions(+)

diff --git a/README.md b/README.md
index dda869b350..df472e4a94 100644
--- a/README.md
+++ b/README.md
@@ -45,6 +45,22 @@ you propertize string by yourself.
 (setq anzu-mode-line-update-function 'my/update-func)
 ```
 
+#### `anzu-cons-mode-line-p`(Default is `t`)
+
+Set `nil` if you want to display anzu information at any posion in mode-line.
+`anzu.el` cons search information head of `mode-line` as default.
+
+For example, show search information tail of `minor-mode-alist`
+
+```
+(setq anzu-cons-mode-line-p nil)
+(setcar (cdr (assq 'isearch-mode minor-mode-alist))
+        '(:eval (anzu--update-mode-line)))
+```
+
+![anzu-any-position](image/anzu-any-position.png)
+
+
 #### `anzu-use-migemo`(Default is `nil`)
 
 Set non-nil` if you use [migemo](https://github.com/emacs-jp/migemo).
diff --git a/image/anzu-any-position.png b/image/anzu-any-position.png
new file mode 100644
index 0000000000..cf14612b91
Binary files /dev/null and b/image/anzu-any-position.png differ



reply via email to

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