From d26e3520af87d0176322af0ceaff9d4f30ee4775 Mon Sep 17 00:00:00 2001 From: Raymond Toy Date: Tue, 26 Jul 2022 14:38:50 -0700 Subject: [PATCH] Use correct hashtable type In build-html-index were were setting *html-index* to be an equalp hashtable. That we want an equal hashtable, which is how *html-index* is initialized. So, instead of setting *html-index* to a new hashtable, just clear the existing table. This fixes some errors where we were getting duplicated section names that should have been marked as duplicate. (Like "Introduction to Simplification" and "Introduction to simplification". Note the capitalization of "simplification".) There are still some duplicates that need investigation. --- doc/info/build-html-index.lisp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/info/build-html-index.lisp b/doc/info/build-html-index.lisp index 8ae8ab64a..7b81eb1c4 100644 --- a/doc/info/build-html-index.lisp +++ b/doc/info/build-html-index.lisp @@ -89,7 +89,7 @@ ;; directory that contains the html files to be searched for the ;; topics. For exapmle it can be "/doc/info/*.html" (defun build-html-index (dir) - (setf *html-index* (make-hash-table :test #'equalp)) + (clrhash *html-index*) ;; entry-regexp searches for entries for functions and variables. ;; We're looking for something like ;; -- 2.11.4.GIT