diff options
author | Glenn Morris <rgm@gnu.org> | 2009-02-20 06:06:18 +0000 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2009-02-20 06:06:18 +0000 |
commit | 7aad296acfd3f744f3689905b358bbe160a2d0f0 (patch) | |
tree | 6559130e9596c80b6298f3465a70a888646acdc9 /lisp/apropos.el | |
parent | 475293229574efccb8798f357aca135a441017f9 (diff) | |
download | emacs-7aad296acfd3f744f3689905b358bbe160a2d0f0.tar.gz |
Daniel Jensen <daniel at bigwalter.net> (tiny change)
(apropos-library): Check for null filename in load-history.
Diffstat (limited to 'lisp/apropos.el')
-rw-r--r-- | lisp/apropos.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/apropos.el b/lisp/apropos.el index 91e763185b6..375b19eebe7 100644 --- a/lisp/apropos.el +++ b/lisp/apropos.el @@ -593,7 +593,7 @@ thus be found in `load-history'." (re (concat "\\(?:\\`\\|[\\/]\\)" (regexp-quote file) "\\(\\.\\|\\'\\)"))) (while (and lh (null lh-entry)) - (if (string-match re (caar lh)) + (if (and (caar lh) (string-match re (caar lh))) (setq lh-entry (car lh)) (setq lh (cdr lh))))) (unless lh-entry (error "Unknown library `%s'" file))) |