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"
820820 nil ))))
821821
822822(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."
823827 (if (or (not php-mode-warn-if-mumamo-off)
824828 php-warned-bad-indent
825829 (php-check-html-for-indentation))
826830 (funcall 'c-indent-region start end quiet)))
827831
828832(defun php-cautious-indent-line ()
833+ " Carefully indent lines in contexts other than HTML templates."
829834 (if (or (not php-mode-warn-if-mumamo-off)
830835 php-warned-bad-indent
831836 (php-check-html-for-indentation))
You can’t perform that action at this time.
0 commit comments