From c8909fa3688aca164e4fd38f6293c4a201e148eb Mon Sep 17 00:00:00 2001 From: Theodor Thornhill 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 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 -- 2.39.2