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.
418418In that case set to `NIL' ."
419419 :type 'boolean )
420420
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
422423 " When set to `T' , do not run hooks of parent modes (`java-mode' , `c-mode' )."
423424 :type 'boolean
424425 :group 'php-mode )
@@ -1263,7 +1264,7 @@ After setting the stylevars run hooks according to STYLENAME
12631264 " Major mode for editing PHP code.
12641265
12651266\\ {php-mode-map}"
1266- (when php-mode-disable-parent -mode-hooks
1267+ (when php-mode-disable-c -mode-hook
12671268 (setq-local c-mode-hook nil )
12681269 (setq-local java-mode-hook nil ))
12691270 (c-initialize-cc-mode t )
You can’t perform that action at this time.
0 commit comments