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

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

[elpa] externals/svg-tag-mode fee61c6a0b: Fixed examples (close #16)


From: ELPA Syncer
Subject: [elpa] externals/svg-tag-mode fee61c6a0b: Fixed examples (close #16)
Date: Mon, 3 Jan 2022 13:57:51 -0500 (EST)

branch: externals/svg-tag-mode
commit fee61c6a0b0570bd24fd335efef17c7385297aa0
Author: Nicolas P. Rougier <Nicolas.Rougier@inria.fr>
Commit: Nicolas P. Rougier <Nicolas.Rougier@inria.fr>

    Fixed examples (close #16)
---
 README.md | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/README.md b/README.md
index 357b19716e..d449634ed2 100644
--- a/README.md
+++ b/README.md
@@ -31,7 +31,7 @@ then you can invoke mode with `M-x svg-tag-mode`. Here are 
some examples:
 
 ```lisp
 (setq svg-tag-tags
-      '((":TODO:" . ((svg-tag-make "TODO")))))
+      '((":TODO:" . ((lambda (tag) (svg-tag-make "TODO"))))))
 ```
 
 2. Replace any occurence of `:HELLO:` with a static SVG tag displaying
@@ -40,7 +40,7 @@ then you can invoke mode with `M-x svg-tag-mode`. Here are 
some examples:
 
 ```lisp
 (setq svg-tag-tags
-      '((":HELLO:" .  ((svg-tag-make "HELLO")
+      '((":HELLO:" .  ((lambda (tag) (svg-tag-make "HELLO"))
                        (lambda () (interactive) (message "Hello world!"))
                        "Print a greeting message"))))
 ```
@@ -51,7 +51,7 @@ then you can invoke mode with `M-x svg-tag-mode`. Here are 
some examples:
 
 ```lisp
 (setq svg-tag-tags
-      '((":TODO:" . (svg-tag-make))))
+      '((":TODO:" . ((lambda (tag) (svg-tag-make tag))))))
 ```
 
 4. Replace any occurence of `:TODO:` with a dynamic SVG tag displaying `TODO`



reply via email to

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