my-log-mode.el
changeset 1246 abd80227aa4b
parent 572 ead98b9f85c3
child 1247 6de0de0a4033
equal deleted inserted replaced
1245:545d1e17bfe3 1246:abd80227aa4b
    23     (save-excursion
    23     (save-excursion
    24       (move-beginning-of-line 1)
    24       (move-beginning-of-line 1)
    25       (setq start (point))
    25       (setq start (point))
    26       (move-end-of-line 1)
    26       (move-end-of-line 1)
    27       (setq stop (point))
    27       (setq stop (point))
    28       (setq line (filter-buffer-substring start stop nil t))
    28       (setq line (filter-buffer-substring start stop))
    29       (string-match fregex line)
    29       (string-match fregex line)
    30       (setq fname (match-string 1 line))
    30       (setq fname (match-string 1 line))
    31       (when fname
    31       (when fname
    32         (setq fline (string-to-int (match-string 2 line)))
    32         (setq fline (string-to-int (match-string 2 line)))
    33         )
    33         )