mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-13 16:38:14 +00:00
(cperl-mode): Remove unnecessary call to obsolete function
make-local-hook.
This commit is contained in:
parent
51fc848bd5
commit
39234e3973
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user