We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3849c0b commit 69ab01bCopy full SHA for 69ab01b
php-mode-test.el
@@ -99,6 +99,13 @@ be processed."
99
(setq str (buffer-substring-no-properties begin-pos (point)))
100
(nconc retval (list (cons str last-face)))))))
101
102
+(defun php-mode-test--parse-list-file (file-path)
103
+ "Return list from `FILE-PATH'."
104
+ (with-temp-buffer
105
+ (insert-file-contents file-path)
106
+ (let ((read-circle t))
107
+ (read (current-buffer)))))
108
+
109
(cl-defmacro with-php-mode-test ((file &key style indent magic custom) &rest body)
110
"Set up environment for testing `php-mode'.
111
Execute BODY in a temporary buffer containing the contents of
0 commit comments