all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#58418: 29.0.50; Fix typo in treesit--check-manual-covarage
@ 2022-10-10 18:23 Theodor Thornhill via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2022-10-10 20:59 ` Yuan Fu
  0 siblings, 1 reply; 2+ messages in thread
From: Theodor Thornhill via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-10-10 18:23 UTC (permalink / raw)
  To: 58418; +Cc: casouri

[-- Attachment #1: Type: text/plain, Size: 205 bytes --]


Hi!

This is just a small patch fixing some typos in a helper function.

The patch should be simple enough, but I thought I'd just add it as I've
seen that typo lingering for some time :)

Thanks,

Theo


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-Fix-typo-in-treesit-check-manual-covarage.patch --]
[-- Type: text/x-diff, Size: 1181 bytes --]

From 7391226f1ee06264fac8b7b2494c4d6f55a34368 Mon Sep 17 00:00:00 2001
From: Theodor Thornhill <theo@thornhill.no>
Date: Mon, 10 Oct 2022 20:20:19 +0200
Subject: [PATCH] Fix typo in treesit--check-manual-covarage

* lisp/treesit.el (treesit--check-manual-coverage): Fix typo in
function name and also lookup the correct library in
`find-library-name'
---
 lisp/treesit.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lisp/treesit.el b/lisp/treesit.el
index 34b501cfba..c5d0bdd1b7 100644
--- a/lisp/treesit.el
+++ b/lisp/treesit.el
@@ -958,13 +958,13 @@ treesit-query-validate
 ;;; Etc
 
 (declare-function find-library-name "find-func.el")
-(defun treesit--check-manual-covarage ()
+(defun treesit--check-manual-coverage ()
   "Print tree-sitter functions missing from the manual in message buffer."
   (interactive)
   (require 'find-func)
   (let ((functions-in-source
          (with-temp-buffer
-           (insert-file-contents (find-library-name "tree-sitter"))
+           (insert-file-contents (find-library-name "treesit"))
            (cl-remove-if
             (lambda (name) (string-match "treesit--" name))
             (cl-sort
-- 
2.34.1


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

* bug#58418: 29.0.50; Fix typo in treesit--check-manual-covarage
  2022-10-10 18:23 bug#58418: 29.0.50; Fix typo in treesit--check-manual-covarage Theodor Thornhill via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2022-10-10 20:59 ` Yuan Fu
  0 siblings, 0 replies; 2+ messages in thread
From: Yuan Fu @ 2022-10-10 20:59 UTC (permalink / raw)
  To: Theodor Thornhill; +Cc: 58418



> On Oct 10, 2022, at 11:23 AM, Theodor Thornhill <theo@thornhill.no> wrote:
> 
> 
> Hi!
> 
> This is just a small patch fixing some typos in a helper function.
> 
> The patch should be simple enough, but I thought I'd just add it as I've
> seen that typo lingering for some time :)

Thanks! Applied. You could guess that I haven’t used that function for a while ;-) But rest assured that all the function are in the manual.

Yuan




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

end of thread, other threads:[~2022-10-10 20:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-10 18:23 bug#58418: 29.0.50; Fix typo in treesit--check-manual-covarage Theodor Thornhill via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-10-10 20:59 ` Yuan Fu

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.