Mercurial > emacs
comparison lisp/whitespace.el @ 57522:3f7aa44cf697
(whitespace-unload-hook): Set the variable.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sat, 16 Oct 2004 15:26:23 +0000 |
parents | e9a8ab6f16fc |
children | 31aa9a390538 0fc4928cc48e f3ec05478165 |
comparison
equal
deleted
inserted
replaced
57521:3ac03a07be63 | 57522:3f7aa44cf697 |
---|---|
857 (defun whitespace-unload-hook () | 857 (defun whitespace-unload-hook () |
858 (remove-hook 'find-file-hook 'whitespace-buffer) | 858 (remove-hook 'find-file-hook 'whitespace-buffer) |
859 (remove-hook 'write-file-functions 'whitespace-write-file-hook t) | 859 (remove-hook 'write-file-functions 'whitespace-write-file-hook t) |
860 (remove-hook 'kill-buffer-hook 'whitespace-buffer)) | 860 (remove-hook 'kill-buffer-hook 'whitespace-buffer)) |
861 | 861 |
862 (add-hook 'whitespace-unload-hook 'whitespace-unload-hook) | |
863 | |
862 (provide 'whitespace) | 864 (provide 'whitespace) |
863 | 865 |
864 ;;; arch-tag: 4ff44e87-b63c-402d-95a6-15e51e58bd0c | 866 ;;; arch-tag: 4ff44e87-b63c-402d-95a6-15e51e58bd0c |
865 ;;; whitespace.el ends here | 867 ;;; whitespace.el ends here |