diff options
author | Tassilo Horn <tsdh@gnu.org> | 2013-08-01 14:58:28 +0200 |
---|---|---|
committer | Tassilo Horn <tsdh@gnu.org> | 2013-08-01 14:58:28 +0200 |
commit | 06d36e2b5f500764309c00fa96bbed59ee7fd750 (patch) | |
tree | ee2f5879ce4614313acb033089f77a3da3c622d0 /lisp/emacs-lisp | |
parent | 51457e0080c982a1760dcf75a84dba923dc37f01 (diff) | |
download | emacs-06d36e2b5f500764309c00fa96bbed59ee7fd750.tar.gz emacs-06d36e2b5f500764309c00fa96bbed59ee7fd750.tar.bz2 emacs-06d36e2b5f500764309c00fa96bbed59ee7fd750.zip |
Refactor out setting `whitespace-indent-tabs-mode' and
`whitespace-tab-width' buffer-locally to own function, so that
`whitespace-cleanup' and friends work appropriately without
needing to enable `whitespace-mode'.
* whitespace.el (whitespace-ensure-local-variables): New function.
(whitespace-cleanup-region): Call it.
(whitespace-turn-on): Call it.
Diffstat (limited to 'lisp/emacs-lisp')
0 files changed, 0 insertions, 0 deletions