mirror of
https://github.com/dimitri/el-get.git
synced 2024-09-29 13:08:51 +08:00
Add a test for issue #400.
That's not the same as actually fixing it, but I'm at a loss about how exactly to do that.
This commit is contained in:
parent
976ca293a6
commit
c4ff249c0d
12
test/el-get-issue-400.el
Normal file
12
test/el-get-issue-400.el
Normal file
|
@ -0,0 +1,12 @@
|
|||
;; https://github.com/dimitri/el-get/issues/400
|
||||
;;
|
||||
;; el-get-install does not run the init hooks
|
||||
|
||||
(let ((debug-on-error t)
|
||||
(el-get-verbose t))
|
||||
;; (el-get-sources '((:name php-mode :features php-mode))))
|
||||
(require 'el-get)
|
||||
(el-get 'sync 'php-mode-improved)
|
||||
(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)))
|
3
test/foo.php
Normal file
3
test/foo.php
Normal file
|
@ -0,0 +1,3 @@
|
|||
<?
|
||||
# PHP test file for issue 400 and auto-mode-alist testing.
|
||||
?>
|
Loading…
Reference in New Issue
Block a user