Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
df5e8d2c
Commit
df5e8d2c
authored
Apr 11, 2005
by
Rajesh Vaidheeswarran
Browse files
whitespace.el - revert hasty fix, fix highlight area for leading and trailing space.
parent
4d88e0ad
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
4 deletions
+11
-4
lisp/ChangeLog
lisp/ChangeLog
+7
-0
lisp/whitespace.el
lisp/whitespace.el
+4
-4
No files found.
lisp/ChangeLog
View file @
df5e8d2c
...
...
@@ -7,6 +7,13 @@
* generic.el (generic-make-keywords-list): Fix docstring.
(generic-mode-internal): Simplify generic-font-lock-keywords.
2005-04-11 Rajesh Vaidheeswarran <rv@gnu.org>
* whitespace.el (whitespace-buffer-leading,
whitespace-buffer-trailing): Revert the incorrect test
inversion. However, fix the highlight area for the leading and
trailing whitespaces to show space.
2005-04-11 Rajesh Vaidheeswarran <rv@gnu.org>
* whitespace.el (whitespace-version): Bump to 3.5
...
...
lisp/whitespace.el
View file @
df5e8d2c
...
...
@@ -597,9 +597,9 @@ whitespace problems."
(
setq
pmin
(
point
))
(
end-of-line
)
(
setq
pmax
(
point
))
(
if
(
not
(
equal
pmin
pmax
)
)
(
if
(
equal
pmin
pmax
)
(
progn
(
whitespace-highlight-the-space
pmin
pmax
)
(
whitespace-highlight-the-space
pmin
(
1+
pmax
)
)
t
)
nil
))))
...
...
@@ -635,9 +635,9 @@ whitespace problems."
(
setq
pmin
(
point
))
(
end-of-line
)
(
setq
pmax
(
point
))
(
if
(
not
(
equal
pmin
pmax
)
)
(
if
(
equal
pmin
pmax
)
(
progn
(
whitespace-highlight-the-space
pmin
pmax
)
(
whitespace-highlight-the-space
(
-
pmin
1
)
pmax
)
t
)
nil
))
nil
))))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment