File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -418,7 +418,8 @@ This function may interfere with other hooks and other behaviors.
418
418
In that case set to `NIL' ."
419
419
:type 'boolean )
420
420
421
- (defcustom php-mode-disable-parent-mode-hooks t
421
+ (define-obsolete-variable-alias 'php-mode-disable-parent-mode-hooks 'php-mode-disable-c-mode-hook " 1.21.0" )
422
+ (defcustom php-mode-disable-c-mode-hook t
422
423
" When set to `T' , do not run hooks of parent modes (`java-mode' , `c-mode' )."
423
424
:type 'boolean
424
425
:group 'php-mode )
@@ -1263,7 +1264,7 @@ After setting the stylevars run hooks according to STYLENAME
1263
1264
" Major mode for editing PHP code.
1264
1265
1265
1266
\\ {php-mode-map}"
1266
- (when php-mode-disable-parent -mode-hooks
1267
+ (when php-mode-disable-c -mode-hook
1267
1268
(setq-local c-mode-hook nil )
1268
1269
(setq-local java-mode-hook nil ))
1269
1270
(c-initialize-cc-mode t )
You can’t perform that action at this time.
0 commit comments