* sweeprolog.el (sweeprolog-beginning-of-next-top-term): handle
comments more reliably
(forward-char)
(re-search-forward (rx bol graph) nil t)
(while (and (or (nth 8 (syntax-ppss))
- (nth 8 (syntax-ppss (1+ (point)))))
+ (looking-at-p (rx bol (or "%" "/*"))))
(not (eobp)))
(re-search-forward (rx bol graph) nil t))
(setq times (1- times)))
(setq times (1- times))
(re-search-forward (rx bol graph) nil t)
(while (and (or (nth 8 (syntax-ppss))
- (nth 8 (syntax-ppss (1+ (point)))))
+ (looking-at-p (rx bol (or "%" "/*"))))
(not (eobp)))
(re-search-forward (rx bol graph) nil t)))
(beginning-of-line)