aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerd Moellmann2000-04-15 11:33:45 +0000
committerGerd Moellmann2000-04-15 11:33:45 +0000
commitffc50f2aabbe1eb98a45e0a4394dbb8aa7531012 (patch)
treed0b8af9b29becea75e3b8a88c061b09c23db5770
parentc21c726259acc267bd70927bffc4b30c810cc055 (diff)
downloademacs-ffc50f2aabbe1eb98a45e0a4394dbb8aa7531012.tar.gz
emacs-ffc50f2aabbe1eb98a45e0a4394dbb8aa7531012.zip
(gud-jdb-build-source-files-list): Change file-exists-p
to file-directory-p.
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/gud.el2
2 files changed, 6 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index c065665425b..bbb382cbc6b 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12000-04-15 Gerd Moellmann <gerd@gnu.org>
2
3 * gud.el (gud-jdb-build-source-files-list): Change file-exists-p
4 to file-directory-p.
5
12000-04-14 Gerd Moellmann <gerd@gnu.org> 62000-04-14 Gerd Moellmann <gerd@gnu.org>
2 7
3 * gud.el (gud-jdb-build-source-files-list): Check that directory 8 * gud.el (gud-jdb-build-source-files-list): Check that directory
diff --git a/lisp/gud.el b/lisp/gud.el
index 0d629aa7aac..719f2f6b0aa 100644
--- a/lisp/gud.el
+++ b/lisp/gud.el
@@ -1562,7 +1562,7 @@ The file names should be absolute, or relative to the current directory.")
1562;; given as the regular expression "\\.java$" . 1562;; given as the regular expression "\\.java$" .
1563(defun gud-jdb-build-source-files-list (path extn) 1563(defun gud-jdb-build-source-files-list (path extn)
1564 (apply 'nconc (mapcar (lambda (d) 1564 (apply 'nconc (mapcar (lambda (d)
1565 (when (files-exists-p d) 1565 (when (files-directory-p d)
1566 (directory-files d t extn nil)) path)))) 1566 (directory-files d t extn nil)) path))))
1567 1567
1568;; Move point past whitespace. 1568;; Move point past whitespace.