2015-06-12 17:19:23 +02:00
|
|
|
#!emacs --script
|
|
|
|
|
2015-06-14 22:38:46 +02:00
|
|
|
(load (concat user-emacs-directory "init-load-path.el"))
|
2015-06-12 17:19:23 +02:00
|
|
|
|
|
|
|
(require 'f)
|
|
|
|
(setq generated-autoload-file (concat narf-core-dir "autoloads.el"))
|
|
|
|
(when (f-exists? generated-autoload-file)
|
|
|
|
(delete-file generated-autoload-file))
|
|
|
|
|
2015-11-25 06:00:49 -05:00
|
|
|
(let ((dirs (list (concat narf-core-dir "lib")
|
|
|
|
(concat narf-modules-dir "lib")
|
|
|
|
narf-contrib-dir)))
|
|
|
|
(apply #'update-directory-autoloads dirs)
|
|
|
|
(message "Scanned: %s" dirs))
|
|
|
|
|