Commit ebb10505 authored by Glenn Morris's avatar Glenn Morris
Browse files

Small help--loaded-p fix

* lisp/help-fns.el (help--loaded-p): Handle entry in load-history
with nil file name.  (Bug#25847)
parent 03f64ebb
......@@ -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)))
(defun help--load-prefixes (prefixes)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment