-(defconst el-file-mode (+ (* 64 6)(* 8 4) 4))
-
-(defun install-el (path file)
- (let ((full-path (expand-file-name file path)))
- (if (file-exists-p full-path)
- (set-file-modes full-path el-file-mode)
- )
- (copy-file file full-path t t)
- (princ (format "%s -> %s\n" file path))
- ))
-
-(defun install-el-files (path &rest files)
- (mapcar (function (lambda (file)
- (if (file-exists-p file)
- (install-el path file)
- )))
- files))
-
-(defun install-elc (path file)
- (let ((full-path (expand-file-name file path)))
- (copy-file file full-path t t)
- (delete-file file)
- (princ (format "%s -> %s\n" file path))
- ))
-
-(defun install-elc-files (path &rest files)
- (mapcar (function (lambda (file)
- (if (file-exists-p file)
- (install-elc path file)
- )))
- files))
-