mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-20 11:57:36 +00:00
(whitespace-highlight-the-space):
Don't call whitespace-unhighlight-the-space here.
This commit is contained in:
parent
713c902086
commit
7dbe67a412
2 changed files with 4 additions and 2 deletions
|
|
@ -1,5 +1,8 @@
|
|||
2005-04-11 Richard M. Stallman <rms@gnu.org>
|
||||
|
||||
* whitespace.el (whitespace-highlight-the-space):
|
||||
Don't call whitespace-unhighlight-the-space here.
|
||||
|
||||
* simple.el (undo): Record t in undo-equiv-table
|
||||
for the redo record made by an undo-in-region.
|
||||
|
||||
|
|
|
|||
|
|
@ -733,12 +733,11 @@ Also with whitespaces whose testing has been turned off."
|
|||
"Highlight the current line, unhighlighting a previously jumped to line."
|
||||
(if whitespace-display-spaces-in-color
|
||||
(let ((ol (whitespace-make-overlay b e)))
|
||||
(whitespace-unhighlight-the-space)
|
||||
(push ol whitespace-highlighted-space)
|
||||
(whitespace-overlay-put ol 'face 'whitespace-highlight-face))))
|
||||
;; (add-hook 'pre-command-hook 'whitespace-unhighlight-the-space))
|
||||
|
||||
(defun whitespace-unhighlight-the-space ()
|
||||
(defun whitespace-unhighlight-the-space()
|
||||
"Unhighlight the currently highlight line."
|
||||
(if (and whitespace-display-spaces-in-color whitespace-highlighted-space)
|
||||
(progn
|
||||
|
|
|
|||
Loading…
Reference in a new issue