Mercurial > hg > xemacs-beta
diff lisp/packages.el @ 312:d1b52dcaa789 r21-0b54
Import from CVS: tag r21-0b54
author | cvs |
---|---|
date | Mon, 13 Aug 2007 10:43:55 +0200 |
parents | 33bdb3d4b97f |
children | afd57c14dfc8 |
line wrap: on
line diff
--- a/lisp/packages.el Mon Aug 13 10:43:30 2007 +0200 +++ b/lisp/packages.el Mon Aug 13 10:43:55 2007 +0200 @@ -223,14 +223,10 @@ (setq path (cdr path))) autoloads)) -(defun packages-list-autoloads () +(defun packages-list-autoloads (source-directory) "List autoload files in (what will be) the normal lisp search path. This function is used during build to find where the global symbol files so they can be perused for their useful information." - ;; Source directory may not be initialized yet. - ;; (print (prin1-to-string load-path)) - (if (null source-directory) - (setq source-directory (car load-path))) (let ((files (directory-files (file-name-as-directory source-directory) t ".*")) file autolist)