summaryrefslogtreecommitdiff
path: root/test/lisp/emacs-lisp
diff options
context:
space:
mode:
authorReuben Thomas <rrt@sc3d.org>2017-03-02 12:50:06 +0000
committerNoam Postavsky <npostavs@gmail.com>2017-04-20 22:39:15 -0400
commita6b375ba4bfc9453abc428dcb73e65bfcf61b794 (patch)
treee1ee2f1544f7d3c40e1131992eec95de4423f0aa /test/lisp/emacs-lisp
parentd490770dd09f1121b637eebdad82531de654189b (diff)
downloademacs-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')
0 files changed, 0 insertions, 0 deletions