aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorRichard M. Stallman2005-04-11 18:39:13 +0000
committerRichard M. Stallman2005-04-11 18:39:13 +0000
commit7dbe67a41259108693fa6fc4149bbdd9ebf236b3 (patch)
tree2e22daaf8e34d5c83a802f52838fbbffd9948551 /lisp
parent713c90208683184a6cc919c028629fa8237a3ffa (diff)
downloademacs-7dbe67a41259108693fa6fc4149bbdd9ebf236b3.tar.gz
emacs-7dbe67a41259108693fa6fc4149bbdd9ebf236b3.zip
(whitespace-highlight-the-space):
Don't call whitespace-unhighlight-the-space here.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog3
-rw-r--r--lisp/whitespace.el3
2 files changed, 4 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index c5d2efa559c..0d861923260 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,8 @@
12005-04-11 Richard M. Stallman <rms@gnu.org> 12005-04-11 Richard M. Stallman <rms@gnu.org>
2 2
3 * whitespace.el (whitespace-highlight-the-space):
4 Don't call whitespace-unhighlight-the-space here.
5
3 * simple.el (undo): Record t in undo-equiv-table 6 * simple.el (undo): Record t in undo-equiv-table
4 for the redo record made by an undo-in-region. 7 for the redo record made by an undo-in-region.
5 8
diff --git a/lisp/whitespace.el b/lisp/whitespace.el
index 4406a0615ee..1ac518091b8 100644
--- a/lisp/whitespace.el
+++ b/lisp/whitespace.el
@@ -733,12 +733,11 @@ Also with whitespaces whose testing has been turned off."
733 "Highlight the current line, unhighlighting a previously jumped to line." 733 "Highlight the current line, unhighlighting a previously jumped to line."
734 (if whitespace-display-spaces-in-color 734 (if whitespace-display-spaces-in-color
735 (let ((ol (whitespace-make-overlay b e))) 735 (let ((ol (whitespace-make-overlay b e)))
736 (whitespace-unhighlight-the-space)
737 (push ol whitespace-highlighted-space) 736 (push ol whitespace-highlighted-space)
738 (whitespace-overlay-put ol 'face 'whitespace-highlight-face)))) 737 (whitespace-overlay-put ol 'face 'whitespace-highlight-face))))
739;; (add-hook 'pre-command-hook 'whitespace-unhighlight-the-space)) 738;; (add-hook 'pre-command-hook 'whitespace-unhighlight-the-space))
740 739
741(defun whitespace-unhighlight-the-space () 740(defun whitespace-unhighlight-the-space()
742 "Unhighlight the currently highlight line." 741 "Unhighlight the currently highlight line."
743 (if (and whitespace-display-spaces-in-color whitespace-highlighted-space) 742 (if (and whitespace-display-spaces-in-color whitespace-highlighted-space)
744 (progn 743 (progn