changeset 47454:cf95d79a66c4

(whitespace-unload-hook): Call `remove-hook' with three arguments, not four.
author Juanma Barranquero <lekktu@gmail.com>
date Fri, 13 Sep 2002 06:21:32 +0000
parents 2e596fc1fdac
children 84464b17ef7e
files lisp/whitespace.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/whitespace.el	Fri Sep 13 06:18:53 2002 +0000
+++ b/lisp/whitespace.el	Fri Sep 13 06:21:32 2002 +0000
@@ -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 @@
 
 (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)