Mercurial > emacs
comparison lwlib/lwlib-utils.h @ 20545:c20c92ff4055
(looking_at_1): Use bytepos to call re_search_2.
Convert search regs to charpos, if search succeeded.
(search_buffer): Likewise. Also convert charpos <-> bytepos
in non-regexp case.
(scan_buffer): Convert charpos <-> bytepos.
(scan_newline): New function.
(find_next_newline): Function deleted.
(set_search_regs): Args now in bytes; convert to charpos.
(Freplace_match): Convert charpos <-> bytepos when scanning case.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Thu, 01 Jan 1998 02:52:20 +0000 |
parents | 118a6ad56ae0 |
children | 6ed38ee607e9 |
comparison
equal
deleted
inserted
replaced
20544:a884f0426ab9 | 20545:c20c92ff4055 |
---|