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
5dd1ad8e
Commit
5dd1ad8e
authored
Nov 14, 1993
by
Richard M. Stallman
Browse files
(compare-windows-skip-whitespace): Swap the two
and's within the or.
parent
f48872fc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
lisp/compare-w.el
lisp/compare-w.el
+6
-6
No files found.
lisp/compare-w.el
View file @
5dd1ad8e
...
...
@@ -141,15 +141,15 @@ If `compare-ignore-case' is non-nil, changes in case are also ignored."
(
let
((
end
(
point
))
(
beg
(
point
))
(
opoint
(
point
)))
(
while
(
or
(
and
(
/=
(
point
)
start
)
;; Consider at least the char before point,
;; unless it is also before START.
(
=
(
point
)
opoint
))
(
and
(
looking-at
compare-windows-whitespace
)
(
while
(
or
(
and
(
looking-at
compare-windows-whitespace
)
(
<=
end
(
match-end
0
))
;; This match goes past END, so advance END.
(
progn
(
setq
end
(
match-end
0
))
(
>
(
point
)
start
))))
(
>
(
point
)
start
)))
(
and
(
/=
(
point
)
start
)
;; Consider at least the char before point,
;; unless it is also before START.
(
=
(
point
)
opoint
)))
;; keep going back until whitespace
;; doesn't extend to or past end
(
forward-char
-1
))
...
...
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