File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -298,6 +298,12 @@ In that case set to `NIL'."
298298 :tag " PHP Mode Enable Backup Style Variables"
299299 :type 'boolean )
300300
301+ (defcustom php-mode-disable-c-auto-align-backslashes t
302+ " When set to non-NIL, override `c-auto-align-backslashes' to NIL."
303+ :group 'php-mode
304+ :tag " PHP Mode Disable c-auto-align-backslashes"
305+ :type 'boolean )
306+
301307(define-obsolete-variable-alias 'php-mode-disable-parent-mode-hooks 'php-mode-disable-c-mode-hook " 1.21.0" )
302308(defcustom php-mode-disable-c-mode-hook t
303309 " When set to `T' , do not run hooks of parent modes (`java-mode' , `c-mode' )."
@@ -855,6 +861,9 @@ reported, even if `c-report-syntactic-errors' is non-nil."
855861 php-warned-bad-indent
856862 (php-check-html-for-indentation))
857863 (let ((here (point ))
864+ (c-auto-align-backslashes
865+ (unless php-mode-disable-c-auto-align-backslashes
866+ c-auto-align-backslashes))
858867 doit)
859868 (move-beginning-of-line nil )
860869 ; ; Don't indent heredoc end mark
You can’t perform that action at this time.
0 commit comments