mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-27 07:37:33 +00:00
Small help--loaded-p fix
* lisp/help-fns.el (help--loaded-p): Handle entry in load-history with nil file name. (Bug#25847)
This commit is contained in:
parent
03f64ebbc6
commit
ebb105054a
@ -73,7 +73,7 @@ The functions will receive the function name as argument.")
|
||||
(let* ((re (load-history-regexp file))
|
||||
(done nil))
|
||||
(dolist (x load-history)
|
||||
(if (string-match-p re (car x)) (setq done t)))
|
||||
(and (car x) (string-match-p re (car x)) (setq done t)))
|
||||
done)))
|
||||
|
||||
(defun help--load-prefixes (prefixes)
|
||||
|
Loading…
Reference in New Issue
Block a user