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

    More make-local-hook cleaning
---
 idlw-shell.el | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/idlw-shell.el b/idlw-shell.el
index 6eb2cc46a5..77c8b7456e 100644
--- a/idlw-shell.el
+++ b/idlw-shell.el
@@ -1034,8 +1034,6 @@ IDL has currently stepped.")
   (setq idlwave-shell-default-directory default-directory)
   (setq idlwave-shell-hide-output nil)
 
-  ;; NB: `make-local-hook' needed for older/alternative Emacs compatibility
-  (make-local-hook 'kill-buffer-hook)
   (add-hook 'kill-buffer-hook 'idlwave-shell-kill-shell-buffer-confirm
            nil 'local)
   (add-hook 'kill-buffer-hook 'idlwave-shell-delete-temp-files nil 'local)
@@ -1072,8 +1070,6 @@ IDL has currently stepped.")
   (set (make-local-variable 'comment-start) ";")
   (setq abbrev-mode t)
 
-  ;; 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 t)
 
   ;; Read the command history?

Reply via email to