Commit 39234e39 authored by Glenn Morris's avatar Glenn Morris
Browse files

(cperl-mode): Remove unnecessary call to obsolete function

make-local-hook.
parent 51fc848b
......@@ -3,6 +3,9 @@
* dframe.el (dframe-frame-mode): Do not set auto-show-mode, since
it is obsolete and has no effect.
 
* dos-w32.el (default-buffer-file-type): Add defvar to quieten
byte-compiler.
* progmodes/cperl-mode.el (cperl-mode): Remove unnecessary call to
obsolete function make-local-hook.
 
......@@ -1871,9 +1871,7 @@ or as help on variables `cperl-tips', `cperl-problems',
(easy-menu-add cperl-menu)) ; A NOP in Emacs.
(run-mode-hooks 'cperl-mode-hook)
(if cperl-hook-after-change
(progn
(make-local-hook 'after-change-functions)
(add-hook 'after-change-functions 'cperl-after-change-function nil t)))
(add-hook 'after-change-functions 'cperl-after-change-function nil t))
;; After hooks since fontification will break this
(if cperl-pod-here-scan
(or cperl-syntaxify-by-font-lock
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment