From fd07aeb320190aca523760e9df0fce84c6e2926d Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sat, 16 Oct 2004 15:26:23 +0000 Subject: [PATCH] (whitespace-unload-hook): Set the variable. --- lisp/whitespace.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lisp/whitespace.el b/lisp/whitespace.el index 40a234f02d6..323c75ed6de 100644 --- a/lisp/whitespace.el +++ b/lisp/whitespace.el @@ -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 -- 2.39.5