X-Git-Url: http://git.hcoop.net/bpt/emacs.git/blobdiff_plain/41882805d6711e32ac0f066119226d84dbdedc13..a1d54bff2f020730079486f127422aaa9356afd8:/lisp/find-lisp.el diff --git a/lisp/find-lisp.el b/lisp/find-lisp.el index 19ebe3fae6..e3b8391993 100644 --- a/lisp/find-lisp.el +++ b/lisp/find-lisp.el @@ -3,17 +3,16 @@ ;; Author: Peter Breton ;; Created: Fri Mar 26 1999 ;; Keywords: unix -;; Time-stamp: <2005-11-11 20:37:50 teirllm> -;; Copyright (C) 1999, 2000, 2002, 2003, 2004, -;; 2005 Free Software Foundation, Inc. +;; Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, +;; 2005, 2006, 2007, 2008 Free Software Foundation, Inc. ;; This file is part of GNU Emacs. -;; GNU Emacs is free software; you can redistribute it and/or modify +;; GNU Emacs is free software: you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 2, or (at your option) -;; any later version. +;; the Free Software Foundation, either version 3 of the License, or +;; (at your option) any later version. ;; GNU Emacs is distributed in the hope that it will be useful, ;; but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -21,9 +20,7 @@ ;; GNU General Public License for more details. ;; You should have received a copy of the GNU General Public License -;; along with GNU Emacs; see the file COPYING. If not, write to the -;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -;; Boston, MA 02110-1301, USA. +;; along with GNU Emacs. If not, see . ;;; Commentary: ;; @@ -96,7 +93,7 @@ PARENT is the parent directory of DIR." (string= dir "..") ;; Skip directories which are symlinks ;; Easy way to circumvent recursive loops - (file-symlink-p dir)))) + (file-symlink-p (expand-file-name dir parent))))) (defun find-lisp-default-file-predicate (file dir) "True if FILE matches `find-lisp-regexp'. @@ -271,7 +268,7 @@ It is a function which takes two arguments, the directory and its parent." ;; No analog for find-lisp? (insert find-lisp-line-indent "\n") ;; Run the find function - (mapcar + (mapc (function (lambda(file) (find-lisp-find-dired-insert-file @@ -359,9 +356,5 @@ It is a function which takes two arguments, the directory and its parent." (provide 'find-lisp) -;; Local Variables: -;; autocompile: t -;; End: - -;;; arch-tag: a711374c-f12a-46f6-aa18-ba7d77b9602a +;; arch-tag: a711374c-f12a-46f6-aa18-ba7d77b9602a ;;; find-lisp.el ends here