From: Theodor Thornhill Date: Mon, 10 Oct 2022 18:20:19 +0000 (+0200) Subject: Fix typo in treesit--check-manual-covarage X-Git-Tag: emacs-29.0.90~1842 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c8909fa3688aca164e4fd38f6293c4a201e148eb;p=emacs.git 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' --- diff --git a/lisp/treesit.el b/lisp/treesit.el index 2bcfddb56b6..b51236b95e9 100644 --- a/lisp/treesit.el +++ b/lisp/treesit.el @@ -964,13 +964,13 @@ to the offending pattern and highlight the pattern." ;;; 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