changeset 223:739d96003993

af-no-clean-whitespace: make interactive for easy disabling when it is just noise.
author Augie Fackler <durin42@gmail.com>
date Mon, 20 Sep 2010 07:35:29 -0500
parents a2ea4a78e02c
children 7ca719e40c58
files .elisp/settings/40.modes.el
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/.elisp/settings/40.modes.el
+++ b/.elisp/settings/40.modes.el
@@ -20,6 +20,7 @@ point."
 
 ;; disable whitespace cleanup in modes sensitive to whitespace
 (defun af-no-clean-whitespace ()
+  (interactive)
   (make-variable-buffer-local 'af-cleanup-whitespace)
   (set-variable 'af-cleanup-whitespace nil))
 (add-hook 'rst-mode-hook 'af-no-clean-whitespace)