[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master ebb1050: Small help--loaded-p fix
From: |
Glenn Morris |
Subject: |
[Emacs-diffs] master ebb1050: Small help--loaded-p fix |
Date: |
Wed, 1 Mar 2017 14:35:38 -0500 (EST) |
branch: master
commit ebb105054a421faff17ee11f0cbcbed87661dd11
Author: Glenn Morris <address@hidden>
Commit: Glenn Morris <address@hidden>
Small help--loaded-p fix
* lisp/help-fns.el (help--loaded-p): Handle entry in load-history
with nil file name. (Bug#25847)
---
lisp/help-fns.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/help-fns.el b/lisp/help-fns.el
index 742c669..21f76e1 100644
--- a/lisp/help-fns.el
+++ b/lisp/help-fns.el
@@ -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)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master ebb1050: Small help--loaded-p fix,
Glenn Morris <=