branch: elpa/isl
commit a94e46f9b241195f571abdc7d61c5f59b3f7be4f
Author: Thierry Volpiatto <[email protected]>
Commit: Thierry Volpiatto <[email protected]>
Simplify testing end of region or buffer
---
isl.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/isl.el b/isl.el
index 4cdcc2b624..531f0d33c0 100644
--- a/isl.el
+++ b/isl.el
@@ -1002,7 +1002,7 @@ See `isl-requires-pattern'."
(condition-case-unless-debug nil
(while (and (setq bounds (or go (isl-multi-search-fwd
isl--pattern nil t)))
- (not (if isl--end (>= (point) isl--end) (eobp))))
+ (<= (point) (or isl--end (point-max))))
(setq go nil)
(unless (and (not isl-search-invisible)
(invisible-p (cdr bounds)))