el-get/test/el-get-issue-541.el

19 lines
424 B
EmacsLisp
Raw Normal View History

2012-02-14 09:04:58 +08:00
;; https://github.com/dimitri/el-get/issues/541
;;
;; Pass load-path to byte-compiling child process
(setq debug-on-error t
el-get-verbose t)
(el-get 'sync 'js2-mode)
(setq 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."))