el-get/test/el-get-issue-400.el
Ryan C. Thompson 1fb104010c Use setq instead of let in tests
This makes it easier to run tests interactively and inspect the
results afterward, because the variables such as "el-get-sources" that
were set for the tests are still bound to the values they had during
the test.
2012-03-18 12:33:04 -07:00

13 lines
393 B
EmacsLisp

;; https://github.com/dimitri/el-get/issues/400
;;
;; el-get-install does not run the init hooks
(setq debug-on-error t
el-get-verbose t)
;; (el-get-sources '((:name php-mode :features php-mode))))
(el-get 'sync 'php-mode)
(message "auto-mode-alist: %S" (rassoc 'php-mode auto-mode-alist))
(with-current-buffer (find-file "foo.php")
(message "%s: %s" (buffer-file-name) major-mode))