Mercurial > emacs
diff lisp/whitespace.el @ 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 | b7a8fec8113c |
children | 37ddf84a7528 |
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)