diff --git a/lisp/net/rcirc.el b/lisp/net/rcirc.el index cf1b952086a..1ddffe8dec9 100644 --- a/lisp/net/rcirc.el +++ b/lisp/net/rcirc.el @@ -2059,7 +2059,7 @@ connection." (point-min))) (when (let ((then (get-text-property (point) 'rcirc-time))) (and then (not (time-less-p time then)))) - (next-single-property-change (point) 'hard) + (goto-char (next-single-property-change (point) 'hard)) (forward-char 1) (throw 'exit nil)))) (goto-char (line-beginning-position))