Remove scripts
This commit is contained in:
parent
76df45ec4d
commit
731a042a7b
4 changed files with 19 additions and 29 deletions
|
@ -1,15 +0,0 @@
|
|||
#!emacs --script
|
||||
|
||||
(load (concat user-emacs-directory "bootstrap.el"))
|
||||
|
||||
(require 'bytecomp)
|
||||
(byte-recompile-file (expand-file-name "bootstrap.el" narf-emacs-dir) nil 0)
|
||||
(byte-recompile-file (expand-file-name "init.el" narf-emacs-dir) nil 0)
|
||||
(byte-recompile-file (expand-file-name "core.el" narf-core-dir) t 0)
|
||||
(byte-recompile-file (expand-file-name "core-vars.el" narf-core-dir) t 0)
|
||||
(byte-recompile-file (expand-file-name "core-defuns.el" narf-core-dir) t 0)
|
||||
(dolist (dir (list narf-core-dir narf-modules-dir narf-core-dir))
|
||||
(byte-recompile-directory dir 0 nil))
|
||||
|
||||
(byte-recompile-file (expand-file-name "my-bindings.el" narf-core-dir) t 0)
|
||||
(byte-recompile-file (expand-file-name "my-commands.el" narf-core-dir) t 0)
|
|
@ -1,12 +0,0 @@
|
|||
#!emacs --script
|
||||
(load (concat user-emacs-directory "bootstrap.el"))
|
||||
|
||||
(let ((generated-autoload-file (concat narf-core-dir "/autoloads.el")))
|
||||
(when (file-exists-p generated-autoload-file)
|
||||
(delete-file generated-autoload-file))
|
||||
(mapc (lambda (dir)
|
||||
(update-directory-autoloads (concat dir "/defuns"))
|
||||
(message "Scanned: %s" dir))
|
||||
(list narf-core-dir narf-modules-dir))
|
||||
(message "Done!"))
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue