diff options
Diffstat (limited to '.emacs.d/lisp/php-project.el')
| -rw-r--r-- | .emacs.d/lisp/php-project.el | 47 |
1 files changed, 46 insertions, 1 deletions
diff --git a/.emacs.d/lisp/php-project.el b/.emacs.d/lisp/php-project.el index 2f4d571..bbcc19c 100644 --- a/.emacs.d/lisp/php-project.el +++ b/.emacs.d/lisp/php-project.el | |||
| @@ -5,7 +5,7 @@ | |||
| 5 | ;; Author: USAMI Kenta <tadsan@zonu.me> | 5 | ;; Author: USAMI Kenta <tadsan@zonu.me> |
| 6 | ;; Keywords: tools, files | 6 | ;; Keywords: tools, files |
| 7 | ;; URL: https://github.com/emacs-php/php-mode | 7 | ;; URL: https://github.com/emacs-php/php-mode |
| 8 | ;; Version: 1.19.1 | 8 | ;; Version: 1.20.0 |
| 9 | ;; Package-Requires: ((emacs "24.3") (cl-lib "0.5")) | 9 | ;; Package-Requires: ((emacs "24.3") (cl-lib "0.5")) |
| 10 | ;; License: GPL-3.0-or-later | 10 | ;; License: GPL-3.0-or-later |
| 11 | 11 | ||
| @@ -134,6 +134,51 @@ defines constants, and sets the class loaders.") | |||
| 134 | Typically it is `pear', `drupal', `wordpress', `symfony2' and `psr2'.") | 134 | Typically it is `pear', `drupal', `wordpress', `symfony2' and `psr2'.") |
| 135 | (put 'php-project-coding-style 'safe-local-variable #'symbolp)) | 135 | (put 'php-project-coding-style 'safe-local-variable #'symbolp)) |
| 136 | 136 | ||
| 137 | ;;;###autoload | ||
| 138 | (progn | ||
| 139 | (defvar php-project-repl nil | ||
| 140 | "Function name or path to REPL (interactive shell) script.") | ||
| 141 | (make-variable-buffer-local 'php-project-repl) | ||
| 142 | (put 'php-project-repl 'safe-local-variable | ||
| 143 | #'(lambda (v) (or (functionp v) | ||
| 144 | (php-project--eval-bootstrap-scripts v))))) | ||
| 145 | |||
| 146 | ;;;###autoload | ||
| 147 | (progn | ||
| 148 | (defvar php-project-unit-test nil | ||
| 149 | "Function name or path to unit test script.") | ||
| 150 | (make-variable-buffer-local 'php-project-unit-test) | ||
| 151 | (put 'php-project-unit-test 'safe-local-variable | ||
| 152 | #'(lambda (v) (or (functionp v) | ||
| 153 | (php-project--eval-bootstrap-scripts v))))) | ||
| 154 | |||
| 155 | ;;;###autoload | ||
| 156 | (progn | ||
| 157 | (defvar php-project-deploy nil | ||
| 158 | "Function name or path to deploy script.") | ||
| 159 | (make-variable-buffer-local 'php-project-deploy) | ||
| 160 | (put 'php-project-deploy 'safe-local-variable | ||
| 161 | #'(lambda (v) (or (functionp v) | ||
| 162 | (php-project--eval-bootstrap-scripts v))))) | ||
| 163 | |||
| 164 | ;;;###autoload | ||
| 165 | (progn | ||
| 166 | (defvar php-project-build nil | ||
| 167 | "Function name or path to build script.") | ||
| 168 | (make-variable-buffer-local 'php-project-build) | ||
| 169 | (put 'php-project-build 'safe-local-variable | ||
| 170 | #'(lambda (v) (or (functionp v) | ||
| 171 | (php-project--eval-bootstrap-scripts v))))) | ||
| 172 | |||
| 173 | ;;;###autoload | ||
| 174 | (progn | ||
| 175 | (defvar php-project-server-start nil | ||
| 176 | "Function name or path to server-start script.") | ||
| 177 | (make-variable-buffer-local 'php-project-server-start) | ||
| 178 | (put 'php-project-server-start 'safe-local-variable | ||
| 179 | #'(lambda (v) (or (functionp v) | ||
| 180 | (php-project--eval-bootstrap-scripts v))))) | ||
| 181 | |||
| 137 | 182 | ||
| 138 | ;; Functions | 183 | ;; Functions |
| 139 | 184 | ||
