+1998-11-10 Katsumi Yamaoka <yamaoka@jpl.org>
+
+ * inv-19.el (next-visible-point): Copied from inv-xemacs.el.
+
1998-11-08 MORIOKA Tomohiko <morioka@jaist.ac.jp>
* poe-18.el (eval-and-compile): Moved from poe.el.
(defun next-visible-point (pos)
(save-excursion
- (goto-char (next-single-property-change pos 'invisible))
- (if (eq (following-char) ?\n)
- (forward-char)
+ (if (save-excursion
+ (goto-char pos)
+ (eq (following-char) ?\n))
+ (setq pos (1+ pos))
)
- (point)))
+ (or (next-single-property-change pos 'invisible)
+ (point-max))))
;;; @ end