all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Theodor Thornhill via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: 58418@debbugs.gnu.org
Cc: casouri@gmail.com
Subject: bug#58418: 29.0.50; Fix typo in treesit--check-manual-covarage
Date: Mon, 10 Oct 2022 20:23:35 +0200	[thread overview]
Message-ID: <87y1tn7d20.fsf@thornhill.no> (raw)

[-- 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


             reply	other threads:[~2022-10-10 18:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-10 18:23 Theodor Thornhill via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2022-10-10 20:59 ` bug#58418: 29.0.50; Fix typo in treesit--check-manual-covarage Yuan Fu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87y1tn7d20.fsf@thornhill.no \
    --to=bug-gnu-emacs@gnu.org \
    --cc=58418@debbugs.gnu.org \
    --cc=casouri@gmail.com \
    --cc=theo@thornhill.no \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.