emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

feature/tree-sitter c8909fa368 3/5: Fix typo in treesit--check-manual-co


From: Yuan Fu
Subject: feature/tree-sitter c8909fa368 3/5: Fix typo in treesit--check-manual-covarage
Date: Mon, 10 Oct 2022 17:09:43 -0400 (EDT)

branch: feature/tree-sitter
commit c8909fa3688aca164e4fd38f6293c4a201e148eb
Author: Theodor Thornhill <theo@thornhill.no>
Commit: Yuan Fu <casouri@gmail.com>

    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 2bcfddb56b..b51236b95e 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]