projects
/
elisp
/
apel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix a comment and the doc-string for `format-time-string'.
[elisp/apel.git]
/
inv-19.el
diff --git
a/inv-19.el
b/inv-19.el
index
11074bf
..
a05cc71
100644
(file)
--- a/
inv-19.el
+++ b/
inv-19.el
@@
-45,11
+45,11
@@
(get-text-property pos 'invisible))
(defun next-visible-point (pos)
(get-text-property pos 'invisible))
(defun next-visible-point (pos)
- (save-excursion
- (goto-char (next-single-property-change pos 'invisible))
- (if (eq (following-char) ?\n)
- (forward-char))
- (point)))
+ (if (setq pos (next-single-property-change pos 'invisible))
+ (if (eq ?\n (char-after pos))
+ (1+ pos)
+ pos)
+ (point-max)))
;;; @ end
;;; @ end