[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/anzu 9de45b406c 004/288: add sample
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/anzu 9de45b406c 004/288: add sample |
Date: |
Thu, 6 Jan 2022 03:58:34 -0500 (EST) |
branch: elpa/anzu
commit 9de45b406c59c04e44013f0660e5b91bbaa06767
Author: Syohei YOSHIDA <syohex@gmail.com>
Commit: Syohei YOSHIDA <syohex@gmail.com>
add sample
---
README.md | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/README.md b/README.md
index d9cfbd7526..9edde55fd1 100644
--- a/README.md
+++ b/README.md
@@ -39,8 +39,18 @@ Function which constructs mode-line string. If you color
mode-line string,
you propertize string by yourself.
```lisp
-(defun my/update-func (here total)
+(defun my/anzu-update-func (here total)
(propertize (format "<%d/%d>" here total)
'face '((:foreground "yellow" :weight bold))))
(setq anzu-mode-line-update-function 'my/update-func)
```
+
+## Sample Configuration
+
+```lisp
+(require 'anzu)
+(global-anzu-mode t)
+
+(set-face-attribute 'anzu-mode-line nil
+ :foreground "yellow" :weight 'bold)
+```
- [nongnu] elpa/anzu 69518308a0 009/288: Remove needless customization variable, (continued)
- [nongnu] elpa/anzu 69518308a0 009/288: Remove needless customization variable, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu 9c56ab9875 014/288: Update document about anzu-cons-mode-line-p, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu 241af32b99 002/288: Add update mode-line function, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu a52dca6f92 010/288: Support migemo(#2), ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu 66807d27a7 012/288: Add Changes, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu c2f8cbc234 016/288: Fix header, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu f570e01b4c 032/288: Merge pull request #8 from bbatsov/doc-improvement, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu f57d1e6ceb 033/288: bump up version and update Changes, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu 1afa7d7b0f 013/288: Add flag whether anzu.el cons search info to mode-line(#4), ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu e9bb490b65 003/288: Update document, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu 9de45b406c 004/288: add sample,
ELPA Syncer <=
- [nongnu] elpa/anzu 9ab3cfa390 007/288: Merge pull request #3 from kiwanami/master, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu e39deb4aec 011/288: Add comment section, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu 6fda98326a 024/288: input is regexp if isearch-regexp is non-nil, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu 9ec5a834cf 025/288: Bump up version and update Changes, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu 8f91b00c91 028/288: Improve the documentation a bit, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu b644e9d067 034/288: Better one-line description, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu 06ae1b1f7e 035/288: Merge pull request #9 from purcell/patch-1, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu 06f4cf2fe7 037/288: Introduce anzu-minimum-input-length, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu e82b3d4236 069/288: Use delimiter regexp at anzu-query-replace-at-cursor, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu b211f9a50f 067/288: Bump up version and update Changes, ELPA Syncer, 2022/01/06