mirror of
https://github.com/dimitri/el-get.git
synced 2024-09-30 05:29:52 +08:00
14 lines
430 B
EmacsLisp
14 lines
430 B
EmacsLisp
;; https://github.com/dimitri/el-get/issues/541
|
|
;;
|
|
;; Pass load-path to byte-compiling child process
|
|
|
|
(let ((debug-on-error t)
|
|
(el-get-verbose t))
|
|
(require 'el-get)
|
|
(el-get 'sync 'js2-mode))
|
|
|
|
(let ((compiled-file (concat (file-name-as-directory (el-get-package-directory 'js2-mode)) "js2-mode.elc")))
|
|
(if (file-exists-p compiled-file)
|
|
(message "Byte-compiling succeeded.")
|
|
(error "Byte-compiling failed.")))
|