diff options
| author | Glenn Morris | 2007-04-10 04:05:00 +0000 |
|---|---|---|
| committer | Glenn Morris | 2007-04-10 04:05:00 +0000 |
| commit | 39234e397320cdf8452da92bd73b444ca7cabeff (patch) | |
| tree | ba66f569f7508fbf75d6f3af2dd0b75f5c444988 /lisp/progmodes | |
| parent | 51fc848bd54b91f21af0e7125c447af101443bd9 (diff) | |
| download | emacs-39234e397320cdf8452da92bd73b444ca7cabeff.tar.gz emacs-39234e397320cdf8452da92bd73b444ca7cabeff.zip | |
(cperl-mode): Remove unnecessary call to obsolete function
make-local-hook.
Diffstat (limited to 'lisp/progmodes')
| -rw-r--r-- | lisp/progmodes/cperl-mode.el | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lisp/progmodes/cperl-mode.el b/lisp/progmodes/cperl-mode.el index 0b8287503f8..96c94591531 100644 --- a/lisp/progmodes/cperl-mode.el +++ b/lisp/progmodes/cperl-mode.el | |||
| @@ -1871,9 +1871,7 @@ or as help on variables `cperl-tips', `cperl-problems', | |||
| 1871 | (easy-menu-add cperl-menu)) ; A NOP in Emacs. | 1871 | (easy-menu-add cperl-menu)) ; A NOP in Emacs. |
| 1872 | (run-mode-hooks 'cperl-mode-hook) | 1872 | (run-mode-hooks 'cperl-mode-hook) |
| 1873 | (if cperl-hook-after-change | 1873 | (if cperl-hook-after-change |
| 1874 | (progn | 1874 | (add-hook 'after-change-functions 'cperl-after-change-function nil t)) |
| 1875 | (make-local-hook 'after-change-functions) | ||
| 1876 | (add-hook 'after-change-functions 'cperl-after-change-function nil t))) | ||
| 1877 | ;; After hooks since fontification will break this | 1875 | ;; After hooks since fontification will break this |
| 1878 | (if cperl-pod-here-scan | 1876 | (if cperl-pod-here-scan |
| 1879 | (or cperl-syntaxify-by-font-lock | 1877 | (or cperl-syntaxify-by-font-lock |