branch: externals/idlwave
commit 64b9fa10dc246b75ac31fd3bf8044ccf3c4faad4
Author: JD Smith <jdtsm...@gmail.com>
Commit: JD Smith <jdtsm...@gmail.com>

    Remove make-local-hook
---
 idlwave.el | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/idlwave.el b/idlwave.el
index 1d89628758..55225c04e2 100644
--- a/idlwave.el
+++ b/idlwave.el
@@ -1985,15 +1985,10 @@ The main features of this mode are
                     'idlwave-forward-block nil))
 
   ;; Make a local post-command-hook and add our hook to it
-  ;; NB: `make-local-hook' needed for older/alternative Emacs compatibility
-  (make-local-hook 'post-command-hook)
   (add-hook 'post-command-hook 'idlwave-command-hook nil 'local)
 
   ;; Make local hooks for buffer updates
-  ;; NB: `make-local-hook' needed for older/alternative Emacs compatibility
-  (make-local-hook 'kill-buffer-hook)
   (add-hook 'kill-buffer-hook 'idlwave-kill-buffer-update nil 'local)
-  (make-local-hook 'after-save-hook)
   (add-hook 'after-save-hook 'idlwave-save-buffer-update nil 'local)
   (add-hook 'after-save-hook 'idlwave-revoke-license-to-kill nil 'local)
 

Reply via email to