Add scripts/generate-autoloads.el
This commit is contained in:
parent
d0628e018a
commit
cb46fa88e4
1 changed files with 13 additions and 0 deletions
13
scripts/generate-autoloads.el
Executable file
13
scripts/generate-autoloads.el
Executable file
|
@ -0,0 +1,13 @@
|
||||||
|
#!emacs --script
|
||||||
|
|
||||||
|
(setq user-emacs-directory (concat (file-name-directory load-file-name) "../"))
|
||||||
|
(load (concat (file-name-directory load-file-name) "../init-load-path.el"))
|
||||||
|
|
||||||
|
(require 'f)
|
||||||
|
(setq generated-autoload-file (concat narf-core-dir "autoloads.el"))
|
||||||
|
(when (f-exists? generated-autoload-file)
|
||||||
|
(delete-file generated-autoload-file))
|
||||||
|
|
||||||
|
(apply #'update-directory-autoloads (list (concat narf-core-dir "lib")
|
||||||
|
(concat narf-modules-dir "lib")
|
||||||
|
narf-contrib-dir))
|
Loading…
Add table
Add a link
Reference in a new issue