3 (defvar navi2ch-bm-board-updated-line-regexp "[%+= ]U\\|[%+ ][CV]")
4 (defvar navi2ch-bm-other-updated-line-regexp " U")
6 (defun navi2ch-bm-forward-updated-line (&optional n)
10 (let ((case-fold-search nil)
11 (regexp (concat "^ *[0-9]+ \\("
12 (if (eq major-mode 'navi2ch-board-mode)
13 navi2ch-bm-board-updated-line-regexp
14 navi2ch-bm-other-updated-line-regexp)
16 (unit (if (> n 0) 1 -1)))
21 (re-search-forward regexp nil t unit))
26 (defun navi2ch-bm-next-updated-line (&optional num)
28 (when (/= (navi2ch-bm-forward-updated-line num) 0)
29 (message "No more updated articles")))
31 (defun navi2ch-bm-previous-updated-line (&optional num)
33 (when (/= (navi2ch-bm-forward-updated-line (- (or num 1))) 0)
34 (message "No more updated articles")))
36 (define-key navi2ch-bm-mode-map "N" 'navi2ch-bm-next-updated-line)
37 (define-key navi2ch-bm-mode-map "P" 'navi2ch-bm-previous-updated-line)
39 (provide 'navi2ch-board-custom)