# HG changeset patch # User Augie Fackler # Date 1284986129 18000 # Node ID 739d960039935bf53cc4d4b7b635f1dcdf68c6dd # Parent a2ea4a78e02c8de5ff05b76199d04966b7b3eb0e af-no-clean-whitespace: make interactive for easy disabling when it is just noise. diff --git a/.elisp/settings/40.modes.el b/.elisp/settings/40.modes.el --- 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)