changeset 43350:154133a72642

(idlwave-shell-mode): Do not use make-local-hook.
author Pavel Janík <Pavel@Janik.cz>
date Sat, 16 Feb 2002 12:50:25 +0000
parents 53fdd9b8a568
children 043ec968d20b
files lisp/progmodes/idlw-shell.el
diffstat 1 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/progmodes/idlw-shell.el	Sat Feb 16 12:48:37 2002 +0000
+++ b/lisp/progmodes/idlw-shell.el	Sat Feb 16 12:50:25 2002 +0000
@@ -4,7 +4,7 @@
 ;; Author: Chris Chase <chase@att.com>
 ;; Maintainer: John-David Smith <jdsmith@astro.cornell.edu>
 ;; Version: 4.7
-;; Date: $Date: 2001/11/27 15:52:51 $
+;; Date: $Date: 2001/12/01 12:54:29 $
 ;; Keywords: processes
 
 ;; This file is part of GNU Emacs.
@@ -723,7 +723,6 @@
   (setq idlwave-shell-sources-alist nil)
   (setq idlwave-shell-default-directory default-directory)
   (setq idlwave-shell-hide-output nil)
-  (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)
@@ -739,7 +738,6 @@
   (set-syntax-table idlwave-mode-syntax-table)
   (set (make-local-variable 'comment-start) ";")
   (setq abbrev-mode t)
-  (make-local-hook 'post-command-hook)
   (add-hook 'post-command-hook 'idlwave-command-hook nil t)
 
   ;; Run the hooks.