diff options
Diffstat (limited to 'app-emacs/php-mode/files/50php-mode-gentoo.el')
-rw-r--r-- | app-emacs/php-mode/files/50php-mode-gentoo.el | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/app-emacs/php-mode/files/50php-mode-gentoo.el b/app-emacs/php-mode/files/50php-mode-gentoo.el new file mode 100644 index 000000000000..50c4ef71afa3 --- /dev/null +++ b/app-emacs/php-mode/files/50php-mode-gentoo.el @@ -0,0 +1,5 @@ +(add-to-list 'load-path "@SITELISP@") +(autoload 'php-mode "php-mode" "Major mode for editing PHP code." t) +(add-to-list 'auto-mode-alist '("\\.php[s34]?\\'" . php-mode)) +(add-to-list 'auto-mode-alist '("\\.phtml\\'" . php-mode)) +(add-to-list 'auto-mode-alist '("\\.inc\\'" . php-mode)) |