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

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

[elpa] externals/svg-tag-mode 3844c576f4 2/3: Fix typo occurence => occu


From: ELPA Syncer
Subject: [elpa] externals/svg-tag-mode 3844c576f4 2/3: Fix typo occurence => occurrence
Date: Mon, 8 Jan 2024 06:58:57 -0500 (EST)

branch: externals/svg-tag-mode
commit 3844c576f489a1855d5704eefff6ddb4c28b8376
Author: Jonas Bernoulli <jonas@bernoul.li>
Commit: Jonas Bernoulli <jonas@bernoul.li>

    Fix typo occurence => occurrence
---
 README.md             | 14 +++++++-------
 examples/example-3.el | 10 +++++-----
 svg-tag-mode.el       | 10 +++++-----
 3 files changed, 17 insertions(+), 17 deletions(-)

diff --git a/README.md b/README.md
index 877347e3d6..c4721cf958 100644
--- a/README.md
+++ b/README.md
@@ -27,14 +27,14 @@ item has the form `(KEYWORD (TAG COMMAND HELP))` where:
 then you can invoke mode with `M-x svg-tag-mode`. Here are some examples:
 
 
-1. Replace any occurence of `:TODO:` with a static SVG tag displaying `TODO`
+1. Replace any occurrence of `:TODO:` with a static SVG tag displaying `TODO`
 
 ```lisp
 (setq svg-tag-tags
       '((":TODO:" . ((lambda (tag) (svg-tag-make "TODO"))))))
 ```
 
-2. Replace any occurence of `:HELLO:` with a static SVG tag displaying
+2. Replace any occurrence of `:HELLO:` with a static SVG tag displaying
    `HELLO` that can be clicked to execute the specified command. Help
    message is displayed when the tag is hovered with the pointer.
 
@@ -46,7 +46,7 @@ then you can invoke mode with `M-x svg-tag-mode`. Here are 
some examples:
 ```
 
 
-3. Replace any occurence of `:TODO:` with a dynamic SVG tag displaying
+3. Replace any occurrence of `:TODO:` with a dynamic SVG tag displaying
    `:TODO:`
 
 ```lisp
@@ -54,7 +54,7 @@ then you can invoke mode with `M-x svg-tag-mode`. Here are 
some examples:
       '((":TODO:" . ((lambda (tag) (svg-tag-make tag))))))
 ```
 
-4. Replace any occurence of `:TODO:` with a dynamic SVG tag displaying `TODO`
+4. Replace any occurrence of `:TODO:` with a dynamic SVG tag displaying `TODO`
 
 ```lisp
 (setq svg-tag-tags
@@ -62,7 +62,7 @@ then you can invoke mode with `M-x svg-tag-mode`. Here are 
some examples:
                        (svg-tag-make tag :beg 1 :end -1))))))
 ```
 
-5. Replaces any occurence of `:XXX:` with a dynamic SVG tag displaying `XXX`
+5. Replaces any occurrence of `:XXX:` with a dynamic SVG tag displaying `XXX`
 
 ```lisp
 (setq svg-tag-tags
@@ -70,7 +70,7 @@ then you can invoke mode with `M-x svg-tag-mode`. Here are 
some examples:
                                (svg-tag-make tag :beg 1 :end -1))))))
 ```
 
-6. Replaces any occurence of `:XXX|YYY:` with two adjacent dynamic SVG
+6. Replaces any occurrence of `:XXX|YYY:` with two adjacent dynamic SVG
    tags displaying `XXX` and `YYY`
 
 ```lisp
@@ -83,7 +83,7 @@ then you can invoke mode with `M-x svg-tag-mode`. Here are 
some examples:
                                                          :margin 0 :crop-left 
t))))))
 ```                                                         
 
-7. This replaces any occurence of `:#TAG1:#TAG2:…:$` (`$` means end of
+7. This replaces any occurrence of `:#TAG1:#TAG2:…:$` (`$` means end of
    line) with a dynamic collection of SVG tags. Note the `#` symbol in
    front of tags. This is mandatory because Emacs cannot do regex look
    ahead.
diff --git a/examples/example-3.el b/examples/example-3.el
index dd0ef4b141..a28091f1bc 100644
--- a/examples/example-3.el
+++ b/examples/example-3.el
@@ -16,12 +16,12 @@
 ;; see <http://www.gnu.org/licenses/>.
 
 
-;; This replaces any occurence of ":TODO:" with a SVG tag
+;; This replaces any occurrence of ":TODO:" with a SVG tag
 ;; displaying "TODO"
 (setq svg-tag-tags
       '((":TODO:" . ((lambda (tag) (svg-tag-make "TODO" ))))))
 
-;; This replaces any occurence of ":HELLO:" with a static SVG tag that
+;; This replaces any occurrence of ":HELLO:" with a static SVG tag that
 ;; can be clicked to execute the specified command. Help message is
 ;; displayed when the tag is hovered with the pointer.
 (setq svg-tag-tags
@@ -29,13 +29,13 @@
                        (lambda () (interactive) (message "Hello world!"))
                        "Print a greeting message"))))
 
-;; This replaces any occurence of ":XYZ:" with a dynamic SVG tag
+;; This replaces any occurrence of ":XYZ:" with a dynamic SVG tag
 ;; displaying "XYZ"
 (setq svg-tag-tags
       '(("\\(:[A-Z]+:\\)" . ((lambda (tag)
                                  (svg-tag-make tag :beg 1 :end -1))))))
 
-;; This replaces any occurence of ":XXX|YYY:" with two adjacent
+;; This replaces any occurrence of ":XXX|YYY:" with two adjacent
 ;; dynamic SVG tags displaying "XXX" and "YYY"
 (setq svg-tag-tags
       '(("\\(:[A-Z]+\\)\|[a-zA-Z#0-9]+:" .
@@ -49,7 +49,7 @@
                                                   :margin 0
                                                   :crop-left t))))))
 
-;; This replaces any occurence of ":#TAG1:#TAG2:…:$" ($ means end of
+;; This replaces any occurrence of ":#TAG1:#TAG2:…:$" ($ means end of
 ;; line) with a dynamic collection of SVG tags. Note the # symbol in
 ;; front of tags. This is mandatory because Emacs cannot do regex look
 ;; ahead.
diff --git a/svg-tag-mode.el b/svg-tag-mode.el
index b239af2b54..b50284fb5e 100644
--- a/svg-tag-mode.el
+++ b/svg-tag-mode.el
@@ -51,12 +51,12 @@
 ;; Examples:
 ;; ---------
 ;;
-;; ;; This replaces any occurence of ":TODO:" with a SVG tag
+;; ;; This replaces any occurrence of ":TODO:" with a SVG tag
 ;; ;; displaying "TODO"
 ;; (setq svg-tag-tags
 ;;       '((":TODO:" . ((lambda (tag) (svg-tag-make "TODO" ))))))
 ;;
-;; ;; This replaces any occurence of ":HELLO:" with a SVG tag that
+;; ;; This replaces any occurrence of ":HELLO:" with a SVG tag that
 ;; ;; can be clicked to execute the specified command. Help message is
 ;; ;; displayed when the tag is hovered with the pointer.
 ;; (setq svg-tag-tags
@@ -64,13 +64,13 @@
 ;;                        (lambda () (interactive) (message "Hello world!"))
 ;;                        "Print a greeting message"))))
 ;;
-;; ;; This replaces any occurence of ":XYZ:" with a SVG tag
+;; ;; This replaces any occurrence of ":XYZ:" with a SVG tag
 ;; ;; displaying "XYZ"
 ;; (setq svg-tag-tags
 ;;       '(("\\(:[A-Z]+:\\)" . ((lambda (tag)
 ;;                                  (svg-tag-make tag :beg 1 :end -1))))))
 ;;
-;; ;; This replaces any occurence of ":XXX|YYY:" with two adjacent
+;; ;; This replaces any occurrence of ":XXX|YYY:" with two adjacent
 ;; ;; SVG tags displaying "XXX" and "YYY"
 ;; (setq svg-tag-tags
 ;;       '(("\\(:[A-Z]+\\)\|[a-zA-Z#0-9]+:" .
@@ -84,7 +84,7 @@
 ;;                                                   :margin 0
 ;;                                                   :crop-left t))))))
 ;;
-;; ;; This replaces any occurence of ":#TAG1:#TAG2:…:$" ($ means end of
+;; ;; This replaces any occurrence of ":#TAG1:#TAG2:…:$" ($ means end of
 ;; ;; line) with a collection of SVG tags. Note the # symbol in
 ;; ;; front of tags. This is mandatory because Emacs cannot do regex look
 ;; ;; ahead.



reply via email to

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