Skip to content

Commit 73e65d4

Browse files
committed
Do not allow t in php-project-php-file-as-template
1 parent 1db622c commit 73e65d4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

php-project.el

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ Typically it is `pear', `drupal', `wordpress', `symfony2' and `psr2'.")
139139
140140
\(\(PATTERN . SYMBOL))
141141
Alist of file name pattern regular expressions and the above symbol pairs.
142-
PATTERN is regexp pattern or `T'.
142+
PATTERN is regexp pattern.
143143
")
144144
(put 'php-project-php-file-as-template 'safe-local-variable #'php-project--validate-php-file-as-template)
145145

@@ -183,7 +183,7 @@ Typically it is `pear', `drupal', `wordpress', `symfony2' and `psr2'.")
183183
((listp val)
184184
(cl-loop for v in val
185185
always (and (consp v)
186-
(or (stringp (car v)) (eq t (car v)))
186+
(stringp (car v))
187187
(php-project--validate-php-file-as-template (cdr v)))))
188188
(t nil)))
189189

0 commit comments

Comments
 (0)