File tree 1 file changed +9
-0
lines changed
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'."
298
298
:tag " PHP Mode Enable Backup Style Variables"
299
299
:type 'boolean )
300
300
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
+
301
307
(define-obsolete-variable-alias 'php-mode-disable-parent-mode-hooks 'php-mode-disable-c-mode-hook " 1.21.0" )
302
308
(defcustom php-mode-disable-c-mode-hook t
303
309
" 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."
855
861
php-warned-bad-indent
856
862
(php-check-html-for-indentation))
857
863
(let ((here (point ))
864
+ (c-auto-align-backslashes
865
+ (unless php-mode-disable-c-auto-align-backslashes
866
+ c-auto-align-backslashes))
858
867
doit)
859
868
(move-beginning-of-line nil )
860
869
; ; Don't indent heredoc end mark
You can’t perform that action at this time.
0 commit comments