]> git.eshelyaron.com Git - emacs.git/commitdiff
(whitespace-unload-hook): Call `remove-hook' with three arguments, not four.
authorJuanma Barranquero <lekktu@gmail.com>
Fri, 13 Sep 2002 06:21:51 +0000 (06:21 +0000)
committerJuanma Barranquero <lekktu@gmail.com>
Fri, 13 Sep 2002 06:21:51 +0000 (06:21 +0000)
lisp/ChangeLog
lisp/whitespace.el

index 8aaa36f19fb8bed333ac6935fcf61be9d26784cf..be14cd1e36177202666ef6415725cfa617eb6abd 100644 (file)
@@ -1,3 +1,11 @@
+2002-09-13  Juanma Barranquero  <lektu@terra.es>
+
+       * progmodes/idlw-shell.el (idlwave-shell-cleanup): Fix reference
+       to `idlwave-idlwave_routine_info-compiled'.
+
+       * whitespace.el (whitespace-unload-hook): Call `remove-hook' with
+       three arguments, not four.
+
 2002-09-12  Richard M. Stallman  <rms@gnu.org>
 
        * international/mule-cmds.el (universal-coding-system-argument):
index 27344312958b4ed7c08752b62bfb8ae2533219ae..0742ae7fc62eacec1f4fd41bb7889ab470d1b9ba 100644 (file)
@@ -5,7 +5,7 @@
 ;; Author: Rajesh Vaidheeswarran <rv@gnu.org>
 ;; Keywords: convenience
 
-;; $Id: whitespace.el,v 1.19 2001/12/13 17:34:57 rv Exp $
+;; $Id: whitespace.el,v 1.20 2002/09/11 21:30:25 monnier Exp $
 ;; This file is part of GNU Emacs.
 
 ;; GNU Emacs is free software; you can redistribute it and/or modify
@@ -843,7 +843,7 @@ This is meant to be added buffer-locally to `write-file-functions'."
 
 (defun whitespace-unload-hook ()
   (remove-hook 'find-file-hook 'whitespace-buffer)
-  (remove-hook 'write-file-functions 'whitespace-write-file-hook nil t)
+  (remove-hook 'write-file-functions 'whitespace-write-file-hook t)
   (remove-hook 'kill-buffer-hook 'whitespace-buffer))
 
 (provide 'whitespace)