changeset 112285:db24da5a1cc0

* lisp/info-xref.el (info-xref-docstrings): Also skip directories.
author Glenn Morris <rgm@gnu.org>
date Sat, 15 Jan 2011 18:34:57 -0800
parents 61f7601898b1
children 941344101fc6
files lisp/ChangeLog lisp/info-xref.el
diffstat 2 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Sat Jan 15 18:21:30 2011 -0800
+++ b/lisp/ChangeLog	Sat Jan 15 18:34:57 2011 -0800
@@ -1,6 +1,7 @@
 2011-01-16  Glenn Morris  <rgm@gnu.org>
 
 	* info-xref.el (info-xref-docstrings): Replace cl function.
+	Also skip directories.
 
 2011-01-16  Kevin Ryde  <user42@zip.com.au>
 
--- a/lisp/info-xref.el	Sat Jan 15 18:21:30 2011 -0800
+++ b/lisp/info-xref.el	Sat Jan 15 18:34:57 2011 -0800
@@ -493,6 +493,7 @@
      (setq filename-list
            (dolist (file filename-list (nreverse newlist))
              (or (info-xref-lock-file-p file)
+                 (file-directory-p file)
                  (push file newlist))))
      (unless filename-list
        (error "No files: %S" pattern))