Skip to content

Commit

Permalink
Revert "Added prog-mode-hook"
Browse files Browse the repository at this point in the history
This reverts commit dc80f89.

Executing two hooks when enabling php-mode causes issues for some
users, such as the duplicated execution of hooks.  You can read

    #37

for more reports on the problems it creates.
  • Loading branch information
Eric James Michael Ritz committed Dec 3, 2012
1 parent 91bb65c commit a61977c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions php-mode.el
Expand Up @@ -541,9 +541,7 @@ This is was done due to the problem reported here:
(set (make-local-variable 'add-log-current-defun-header-regexp)
php-beginning-of-defun-regexp)

(run-hooks 'prog-mode-hook)
(run-hooks 'php-mode-hook))


;; Make a menu keymap (with a prompt string)
;; and make it the menu bar item's definition.
Expand Down

0 comments on commit a61977c

Please sign in to comment.