summaryrefslogtreecommitdiff
path: root/lisp/whitespace.el
diff options
context:
space:
mode:
authorJuanma Barranquero <lekktu@gmail.com>2002-09-13 06:21:51 +0000
committerJuanma Barranquero <lekktu@gmail.com>2002-09-13 06:21:51 +0000
commite23d264da6f3c00d2b00b2ab4052fbdf0244ead9 (patch)
tree995c319351cbb7c7696974bd4bc2968b99f34684 /lisp/whitespace.el
parent8a36f09393579c11963f8d5d9d88c39fc408f4cd (diff)
downloademacs-e23d264da6f3c00d2b00b2ab4052fbdf0244ead9.tar.gz
(whitespace-unload-hook): Call `remove-hook' with three arguments, not four.
Diffstat (limited to 'lisp/whitespace.el')
-rw-r--r--lisp/whitespace.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/whitespace.el b/lisp/whitespace.el
index 27344312958..0742ae7fc62 100644
--- a/lisp/whitespace.el
+++ b/lisp/whitespace.el
@@ -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)