File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -820,12 +820,17 @@ example `html-mode'. Known such libraries are:\n\t"
820
820
nil ))))
821
821
822
822
(defun php-cautious-indent-region (start end &optional quiet )
823
+ " Carefully indent region `START' `END' in contexts other than HTML templates.
824
+
825
+ If the optional argument `QUIET' is non-nil then no syntactic errors are
826
+ reported, even if `c-report-syntactic-errors' is non-nil."
823
827
(if (or (not php-mode-warn-if-mumamo-off)
824
828
php-warned-bad-indent
825
829
(php-check-html-for-indentation))
826
830
(funcall 'c-indent-region start end quiet)))
827
831
828
832
(defun php-cautious-indent-line ()
833
+ " Carefully indent lines in contexts other than HTML templates."
829
834
(if (or (not php-mode-warn-if-mumamo-off)
830
835
php-warned-bad-indent
831
836
(php-check-html-for-indentation))
You can’t perform that action at this time.
0 commit comments