@@ -300,12 +300,6 @@ In that case set to `NIL'."
300
300
:tag " PHP Mode Enable Backup Style Variables"
301
301
:type 'boolean )
302
302
303
- (defcustom php-mode-disable-c-auto-align-backslashes t
304
- " When set to non-NIL, override `c-auto-align-backslashes' to NIL."
305
- :group 'php-mode
306
- :tag " PHP Mode Disable c-auto-align-backslashes"
307
- :type 'boolean )
308
-
309
303
(define-obsolete-variable-alias 'php-mode-disable-parent-mode-hooks 'php-mode-disable-c-mode-hook " 1.21.0" )
310
304
(defcustom php-mode-disable-c-mode-hook t
311
305
" When set to `T' , do not run hooks of parent modes (`java-mode' , `c-mode' )."
@@ -916,9 +910,6 @@ reported, even if `c-report-syntactic-errors' is non-nil."
916
910
php-warned-bad-indent
917
911
(php-check-html-for-indentation))
918
912
(let ((here (point ))
919
- (c-auto-align-backslashes
920
- (unless php-mode-disable-c-auto-align-backslashes
921
- c-auto-align-backslashes))
922
913
doit)
923
914
(move-beginning-of-line nil )
924
915
; ; Don't indent heredoc end mark
@@ -1202,6 +1193,7 @@ After setting the stylevars run hooks according to STYLENAME
1202
1193
(c-initialize-cc-mode t )
1203
1194
(c-init-language-vars php-mode)
1204
1195
(c-common-init 'php-mode )
1196
+ (setq-local c-auto-align-backslashes nil )
1205
1197
1206
1198
(setq-local comment-start " // " )
1207
1199
(setq-local comment-start-skip
0 commit comments