Skip to content
This repository
tree: 3ecb99262d
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 19 lines (14 sloc) 0.424 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
;; 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."))
Something went wrong with that request. Please try again.