diff options
author | Reuben Thomas <rrt@sc3d.org> | 2017-03-02 12:50:06 +0000 |
---|---|---|
committer | Noam Postavsky <npostavs@gmail.com> | 2017-04-20 22:39:15 -0400 |
commit | a6b375ba4bfc9453abc428dcb73e65bfcf61b794 (patch) | |
tree | e1ee2f1544f7d3c40e1131992eec95de4423f0aa /test/lisp/emacs-lisp/package-tests.el | |
parent | d490770dd09f1121b637eebdad82531de654189b (diff) | |
download | emacs-a6b375ba4bfc9453abc428dcb73e65bfcf61b794.tar.gz emacs-a6b375ba4bfc9453abc428dcb73e65bfcf61b794.tar.bz2 emacs-a6b375ba4bfc9453abc428dcb73e65bfcf61b794.zip |
Fix reading of tab settings in whitespace-mode
lisp/whitespace.el (whitespace-indent-tabs-mode)
whitespace-tab-width): Remove these variables. The underlying
variables `indent-tabs-mode' and `tab-width' are already buffer-local
when needed, and whitespace-mode never changes them.
(whitespace-ensure-local-variables): Remove this function, which only
existed to set the above variables.
(whitespace-cleanup-region, whitespace-regexp)
(whitespace-indentation-regexp, whitespace-report-region)
(whitespace-turn-on, whitespace-color-on): Adjust these functions to
use `indent-tabs-mode' and `tab-width' directly, and not call
`whitespace-ensure-local-variables'.
Diffstat (limited to 'test/lisp/emacs-lisp/package-tests.el')
0 files changed, 0 insertions, 0 deletions