]> git.eshelyaron.com Git - emacs.git/commitdiff
(whitespace-unload-hook): Set the variable.
authorRichard M. Stallman <rms@gnu.org>
Sat, 16 Oct 2004 15:26:23 +0000 (15:26 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sat, 16 Oct 2004 15:26:23 +0000 (15:26 +0000)
lisp/whitespace.el

index 40a234f02d67c5f86b25886ea7c225a88bd0f391..323c75ed6defd1a08f10a22cea220a40d1c22d0a 100644 (file)
@@ -859,6 +859,8 @@ This is meant to be added buffer-locally to `write-file-functions'."
   (remove-hook 'write-file-functions 'whitespace-write-file-hook t)
   (remove-hook 'kill-buffer-hook 'whitespace-buffer))
 
+(add-hook 'whitespace-unload-hook 'whitespace-unload-hook)
+
 (provide 'whitespace)
 
 ;;; arch-tag: 4ff44e87-b63c-402d-95a6-15e51e58bd0c