forked from dimitri/el-get
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
That's not the same as actually fixing it, but I'm at a loss about how exactly to do that.
- Loading branch information
Showing
2 changed files
with
15 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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))) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<? | ||
# PHP test file for issue 400 and auto-mode-alist testing. | ||
?> |