mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-21 06:55:39 +00:00
* lisp/help-fns.el (help-definition-prefixes): Don't delete the hashtable
Fixes bug#72511.
This commit is contained in:
parent
fc7581ae2e
commit
45ae4de0e7
@ -85,14 +85,14 @@ current help buffer.")
|
||||
|
||||
(defun help-definition-prefixes ()
|
||||
"Return the up-to-date radix-tree form of `definition-prefixes'."
|
||||
(when (> (hash-table-count definition-prefixes) 0)
|
||||
(when (and (null help-definition-prefixes)
|
||||
(> (hash-table-count definition-prefixes) 0))
|
||||
(maphash (lambda (prefix files)
|
||||
(let ((old (radix-tree-lookup help-definition-prefixes prefix)))
|
||||
(setq help-definition-prefixes
|
||||
(radix-tree-insert help-definition-prefixes
|
||||
prefix (append old files)))))
|
||||
definition-prefixes)
|
||||
(clrhash definition-prefixes))
|
||||
definition-prefixes))
|
||||
help-definition-prefixes)
|
||||
|
||||
(defun help--loaded-p (file)
|
||||
|
Loading…
Reference in New Issue
Block a user