# HG changeset patch # User Juanma Barranquero # Date 1031898092 0 # Node ID cf95d79a66c4c49b720311d6fa974050c71f190f # Parent 2e596fc1fdac017ffaf7041af4c585c106f19740 (whitespace-unload-hook): Call `remove-hook' with three arguments, not four. diff -r 2e596fc1fdac -r cf95d79a66c4 lisp/whitespace.el --- 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 ;; 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)