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 | |
| parent | 51fc848bd54b91f21af0e7125c447af101443bd9 (diff) | |
| download | emacs-39234e397320cdf8452da92bd73b444ca7cabeff.tar.gz emacs-39234e397320cdf8452da92bd73b444ca7cabeff.zip | |
(cperl-mode): Remove unnecessary call to obsolete function
make-local-hook.
| -rw-r--r-- | lisp/ChangeLog | 3 | ||||
| -rw-r--r-- | lisp/progmodes/cperl-mode.el | 4 |
2 files changed, 4 insertions, 3 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 05d1cc98306..a88de10da50 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -3,6 +3,9 @@ | |||
| 3 | * dframe.el (dframe-frame-mode): Do not set auto-show-mode, since | 3 | * dframe.el (dframe-frame-mode): Do not set auto-show-mode, since |
| 4 | it is obsolete and has no effect. | 4 | it is obsolete and has no effect. |
| 5 | 5 | ||
| 6 | * dos-w32.el (default-buffer-file-type): Add defvar to quieten | ||
| 7 | byte-compiler. | ||
| 8 | |||
| 6 | * progmodes/cperl-mode.el (cperl-mode): Remove unnecessary call to | 9 | * progmodes/cperl-mode.el (cperl-mode): Remove unnecessary call to |
| 7 | obsolete function make-local-hook. | 10 | obsolete function make-local-hook. |
| 8 | 11 | ||
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 |