aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuanma Barranquero2002-09-13 06:21:51 +0000
committerJuanma Barranquero2002-09-13 06:21:51 +0000
commite23d264da6f3c00d2b00b2ab4052fbdf0244ead9 (patch)
tree995c319351cbb7c7696974bd4bc2968b99f34684
parent8a36f09393579c11963f8d5d9d88c39fc408f4cd (diff)
downloademacs-e23d264da6f3c00d2b00b2ab4052fbdf0244ead9.tar.gz
emacs-e23d264da6f3c00d2b00b2ab4052fbdf0244ead9.zip
(whitespace-unload-hook): Call `remove-hook' with three arguments, not four.
-rw-r--r--lisp/ChangeLog8
-rw-r--r--lisp/whitespace.el4
2 files changed, 10 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 8aaa36f19fb..be14cd1e361 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,11 @@
12002-09-13 Juanma Barranquero <lektu@terra.es>
2
3 * progmodes/idlw-shell.el (idlwave-shell-cleanup): Fix reference
4 to `idlwave-idlwave_routine_info-compiled'.
5
6 * whitespace.el (whitespace-unload-hook): Call `remove-hook' with
7 three arguments, not four.
8
12002-09-12 Richard M. Stallman <rms@gnu.org> 92002-09-12 Richard M. Stallman <rms@gnu.org>
2 10
3 * international/mule-cmds.el (universal-coding-system-argument): 11 * international/mule-cmds.el (universal-coding-system-argument):
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 @@
5;; Author: Rajesh Vaidheeswarran <rv@gnu.org> 5;; Author: Rajesh Vaidheeswarran <rv@gnu.org>
6;; Keywords: convenience 6;; Keywords: convenience
7 7
8;; $Id: whitespace.el,v 1.19 2001/12/13 17:34:57 rv Exp $ 8;; $Id: whitespace.el,v 1.20 2002/09/11 21:30:25 monnier Exp $
9;; This file is part of GNU Emacs. 9;; This file is part of GNU Emacs.
10 10
11;; GNU Emacs is free software; you can redistribute it and/or modify 11;; 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'."
843 843
844(defun whitespace-unload-hook () 844(defun whitespace-unload-hook ()
845 (remove-hook 'find-file-hook 'whitespace-buffer) 845 (remove-hook 'find-file-hook 'whitespace-buffer)
846 (remove-hook 'write-file-functions 'whitespace-write-file-hook nil t) 846 (remove-hook 'write-file-functions 'whitespace-write-file-hook t)
847 (remove-hook 'kill-buffer-hook 'whitespace-buffer)) 847 (remove-hook 'kill-buffer-hook 'whitespace-buffer))
848 848
849(provide 'whitespace) 849(provide 'whitespace)