changeset 72783:c05b61ed1101

(file-cache-add-directory) (file-cache-add-directory-list, file-cache-add-file) (file-cache-add-directory-using-find) (file-cache-add-directory-using-locate) (file-cache-add-directory-recursively): Add autoloads.
author Reiner Steib <Reiner.Steib@gmx.de>
date Sun, 10 Sep 2006 16:26:31 +0000
parents 5fd3dd6b39a1
children 3f19250c6e68
files lisp/ChangeLog lisp/filecache.el
diffstat 2 files changed, 15 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Sun Sep 10 13:48:42 2006 +0000
+++ b/lisp/ChangeLog	Sun Sep 10 16:26:31 2006 +0000
@@ -1,3 +1,11 @@
+2006-09-10  Reiner Steib  <Reiner.Steib@gmx.de>
+
+	* filecache.el (file-cache-add-directory)
+	(file-cache-add-directory-list, file-cache-add-file)
+	(file-cache-add-directory-using-find)
+	(file-cache-add-directory-using-locate)
+	(file-cache-add-directory-recursively): Add autoloads.
+
 2006-09-09  Richard Stallman  <rms@gnu.org>
 
 	* textmodes/conf-mode.el (conf-space-mode): Use
--- a/lisp/filecache.el	Sun Sep 10 13:48:42 2006 +0000
+++ b/lisp/filecache.el	Sun Sep 10 16:26:31 2006 +0000
@@ -266,6 +266,7 @@
 ;; Functions to add files to the cache
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 
+;;;###autoload
 (defun file-cache-add-directory (directory &optional regexp)
   "Add DIRECTORY to the file cache.
 If the optional REGEXP argument is non-nil, only files which match it will
@@ -291,6 +292,7 @@
        dir-files)
       (file-cache-add-file-list dir-files))))
 
+;;;###autoload
 (defun file-cache-add-directory-list (directory-list &optional regexp)
   "Add DIRECTORY-LIST (a list of directory names) to the file cache.
 If the optional REGEXP argument is non-nil, only files which match it
@@ -307,6 +309,8 @@
   (mapcar 'file-cache-add-file file-list))
 
 ;; Workhorse function
+
+;;;###autoload
 (defun file-cache-add-file (file)
   "Add FILE to the file cache."
   (interactive "fAdd File: ")
@@ -333,6 +337,7 @@
 		    file-cache-alist)))
       )))
 
+;;;###autoload
 (defun file-cache-add-directory-using-find (directory)
   "Use the `find' command to add files to the file cache.
 Find is run in DIRECTORY."
@@ -355,6 +360,7 @@
 		  "-print")
     (file-cache-add-from-file-cache-buffer)))
 
+;;;###autoload
 (defun file-cache-add-directory-using-locate (string)
   "Use the `locate' command to add files to the file cache.
 STRING is passed as an argument to the locate command."
@@ -366,6 +372,7 @@
 		string)
   (file-cache-add-from-file-cache-buffer))
 
+;;;###autoload
 (defun file-cache-add-directory-recursively  (dir &optional regexp)
   "Adds DIR and any subdirectories to the file-cache.
 This function does not use any external programs