all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#59849: [PATCH] ; * lisp/progmodes/js.el (js--treesit-imenu): Fix a typo.
@ 2022-12-06  1:36 Randy Taylor
  2022-12-06  4:42 ` Stefan Kangas
  0 siblings, 1 reply; 2+ messages in thread
From: Randy Taylor @ 2022-12-06  1:36 UTC (permalink / raw)
  To: 59849


[-- Attachment #1.1: Type: text/plain, Size: 13 bytes --]

Empty Message

[-- Attachment #1.2: Type: text/html, Size: 24 bytes --]

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-lisp-progmodes-js.el-js-treesit-imenu-Fix-a-typo.patch --]
[-- Type: text/x-patch; name=0001-lisp-progmodes-js.el-js-treesit-imenu-Fix-a-typo.patch, Size: 846 bytes --]

From 7c040baea3bd5ec1e702d2b1d62308be65e5619c Mon Sep 17 00:00:00 2001
From: Randy Taylor <dev@rjt.dev>
Date: Mon, 5 Dec 2022 20:30:56 -0500
Subject: [PATCH] ; * lisp/progmodes/js.el (js--treesit-imenu): Fix a typo.

---
 lisp/progmodes/js.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/progmodes/js.el b/lisp/progmodes/js.el
index 90ab7cc924..45dfef372c 100644
--- a/lisp/progmodes/js.el
+++ b/lisp/progmodes/js.el
@@ -3734,7 +3734,7 @@ js--treesit-imenu
          (var-tree (treesit-induce-sparse-tree
                     node "lexical_declaration" nil 1000)))
     `(("Class" . ,(js--treesit-imenu-1 class-tree))
-      ("Varieable" . ,(js--treesit-imenu-1 var-tree))
+      ("Variable" . ,(js--treesit-imenu-1 var-tree))
       ("Function" . ,(js--treesit-imenu-1 func-tree)))))
 
 ;;; Main Function
-- 
2.38.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#59849: [PATCH] ; * lisp/progmodes/js.el (js--treesit-imenu): Fix a typo.
  2022-12-06  1:36 bug#59849: [PATCH] ; * lisp/progmodes/js.el (js--treesit-imenu): Fix a typo Randy Taylor
@ 2022-12-06  4:42 ` Stefan Kangas
  0 siblings, 0 replies; 2+ messages in thread
From: Stefan Kangas @ 2022-12-06  4:42 UTC (permalink / raw)
  To: Randy Taylor, 59849-done

Randy Taylor <dev@rjt.dev> writes:

> diff --git a/lisp/progmodes/js.el b/lisp/progmodes/js.el
> index 90ab7cc924..45dfef372c 100644
> --- a/lisp/progmodes/js.el
> +++ b/lisp/progmodes/js.el
> @@ -3734,7 +3734,7 @@ js--treesit-imenu
>           (var-tree (treesit-induce-sparse-tree
>                      node "lexical_declaration" nil 1000)))
>      `(("Class" . ,(js--treesit-imenu-1 class-tree))
> -      ("Varieable" . ,(js--treesit-imenu-1 var-tree))
> +      ("Variable" . ,(js--treesit-imenu-1 var-tree))
>        ("Function" . ,(js--treesit-imenu-1 func-tree)))))
>
>  ;;; Main Function

Thanks, pushed to emacs-29 (commit 717f8477284).





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-12-06  4:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-06  1:36 bug#59849: [PATCH] ; * lisp/progmodes/js.el (js--treesit-imenu): Fix a typo Randy Taylor
2022-12-06  4:42 ` Stefan Kangas

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.