Skip to content

Commit d96bc94

Browse files
committed
Add php-project-etags-file variable
1 parent d07208c commit d96bc94

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

php-project.el

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,11 @@ STRING
104104
(put 'php-project-root 'safe-local-variable
105105
#'(lambda (v) (or (stringp v) (assq v php-project-available-root-files))))
106106

107+
(defvar-local php-project-etags-file nil)
108+
(put 'php-project-etags-file 'safe-local-variable
109+
#'(lambda (v) (or (functionp v)
110+
(php-project--eval-bootstrap-scripts v))))
111+
107112
(defvar-local php-project-bootstrap-scripts nil
108113
"List of path to bootstrap php script file.
109114
@@ -172,7 +177,6 @@ Typically it is `pear', `drupal', `wordpress', `symfony2' and `psr2'.")
172177
(put 'php-project-server-start 'safe-local-variable
173178
#'(lambda (v) (or (functionp v)
174179
(php-project--eval-bootstrap-scripts v)))))
175-
176180

177181
;; Functions
178182
(defun php-project--validate-php-file-as-template (val)

0 commit comments

Comments
 (0)