2013-02-07 Didier Verna Support for file/mode-specific styles and actions in whitespace.el. * whitespace.el: Update comments throughout the file for this new feature. (whitespace-style-custom-type): New constant. (whitespace-style): Use it. Update and improve docstring format. (whitespace-file-style) (whitespace-mode-style): New user options. (whitespace-style): New function. Handles file and mode-specific style settings introduced by the above new user options. Used throughout the file instead of the just the eponym variable. (whitespace-action-custom-type): New constant. (whitespace-action): Use it. Update and improve docstring format. (whitespace-file-action) (whitespace-mode-action): New user options. (whitespace-action): New function. Handles file and mode-specific style settings introduced by the above new user options. Used throughout the file instead of the just the eponym variable. (whitespace-cleanup) (whitespace-cleanup-region) (whitespace-report-region): Update docstring. Use the `whitespace-style' function instead of the eponym variable. (whitespace-interactive-char) (whitespace-toggle-list) (whitespace-turn-on): Handle file/mode-specific styles. (whitespace-action-when-on) (whitespace-write-file-hook) (whitespace-warn-when-read-only): Handle file-mode-specific actions by using the function `whitespace-action' instead of the eponym variable. (whitespace-space) (whitespace-hspace) (whitespace-tab) (whitespace-newline) (whitespace-trailing) (whitespace-line) (whitespace-space-before-tab) (whitespace-indentation) (whitespace-empty) (whitespace-space-after-tab) (whitespace-hspace-regexp) (whitespace-tab-regexp) (whitespace-trailing-regexp) (whitespace-space-before-tab-regexp) (whitespace-indentation-regexp) (whitespace-empty-at-bob-regexp) (whitespace-empty-at-eob-regexp) (whitespace-space-after-tab-regexp) (whitespace-line-column) (whitespace-display-mappings) (whitespace-style-value-list) (whitespace-active-style) (whitespace-toggle-options) (global-whitespace-toggle-options) (whitespace-report): Update docstrings.