summaryrefslogtreecommitdiff
path: root/.emacs.d/lisp/php-mode.el
diff options
context:
space:
mode:
Diffstat (limited to '.emacs.d/lisp/php-mode.el')
-rw-r--r--.emacs.d/lisp/php-mode.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/.emacs.d/lisp/php-mode.el b/.emacs.d/lisp/php-mode.el
index 60df841..62e1e97 100644
--- a/.emacs.d/lisp/php-mode.el
+++ b/.emacs.d/lisp/php-mode.el
@@ -294,7 +294,9 @@ You can replace \"en\" with your ISO language code."
294 :type 'string) 294 :type 'string)
295 295
296;;;###autoload 296;;;###autoload
297(add-to-list 'interpreter-mode-alist (cons "php" 'php-mode)) 297(add-to-list 'interpreter-mode-alist
298 ;; Match php, php-3, php5, php7, php5.5, php-7.0.1, etc.
299 (cons "php\\(?:-?[3457]\\(?:\\.[0-9]+\\)*\\)?" 'php-mode))
298 300
299(defcustom php-mode-hook nil 301(defcustom php-mode-hook nil
300 "List of functions to be executed on entry to `php-mode'." 302 "List of functions to be executed on entry to `php-mode'."