]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix typo in treesit--check-manual-covarage
authorTheodor Thornhill <theo@thornhill.no>
Mon, 10 Oct 2022 18:20:19 +0000 (20:20 +0200)
committerYuan Fu <casouri@gmail.com>
Mon, 10 Oct 2022 18:31:20 +0000 (11:31 -0700)
* 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

index 2bcfddb56b6b03a45508046d40da5421a8aa6e22..b51236b95e9c4edfb56fc9db8e119b67f7bfde9d 100644 (file)
@@ -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