Merge latest whitespace.el changes from trunk (Bug#6172).
commit7d4fcd6666024fb6b0f8768bc8bbc03bda49ede9
authorChong Yidong <cyd@stupidchicken.com>
Sun, 22 Aug 2010 04:13:32 +0000 (22 00:13 -0400)
committerChong Yidong <cyd@stupidchicken.com>
Sun, 22 Aug 2010 04:13:32 +0000 (22 00:13 -0400)
treee1ed9e1bc8d16fd15629f7c6187a344aecffe5ef
parent61a0f3cde7d35f17a4c340186196eaaf596b7730
parent994c165306f694d5a160eb757d3cc661c59a7405
Merge latest whitespace.el changes from trunk (Bug#6172).

* whitespace.el: Fix slow cursor movement (Bug#6172).  Reported by
Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
New version 13.0.
(whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
Adjust initialization.
(whitespace-bob-marker, whitespace-eob-marker)
(whitespace-buffer-changed): New vars.
(whitespace-cleanup, whitespace-color-on, whitespace-color-off)
(whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
(whitespace-post-command-hook, whitespace-display-char-on):
Adjust code.
(whitespace-looking-back, whitespace-buffer-changed): New funs.
(whitespace-space-regexp, whitespace-tab-regexp): Eliminate funs.