]> git.eshelyaron.com Git - emacs.git/commit
Fix turning off whitespace-mode
authorNick Helm <nick@tenpoint.co.nz>
Fri, 19 May 2017 12:20:59 +0000 (15:20 +0300)
committerEli Zaretskii <eliz@gnu.org>
Fri, 19 May 2017 12:20:59 +0000 (15:20 +0300)
commitc1c6f167b2e683db3e2cee7cb29ab2eb745e1713
treee049daba66259b9de5a092be777994fa6df495a1
parent1b0ec9f1b5c2587d6cd402f59f8ec14d81d3e551
Fix turning off whitespace-mode

* lisp/whitespace.el (whitespace-display-char-on): Correct the way
the original buffer-display-table is saved and restored when
global-whitespace-mode is active.  (Bug#26892)

* test/lisp/whitespace-tests.el
(whitespace-tests-whitespace-mode-on): New function.
(whitespace-tests-display-tables): New test.

Copyright-paperwork-exempt: yes
lisp/whitespace.el
test/lisp/whitespace-tests.el