Mercurial > emacs
comparison src/search.c @ 19541:e7876a076881
(Fsearch_backward): Inherit the current input method on
reading STRING.
(Fsearch_forward): Likewise.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Tue, 26 Aug 1997 11:42:33 +0000 |
parents | 12c0de0113af |
children | d8e5f3c1618b |
comparison
equal
deleted
inserted
replaced
19540:06552ba973ce | 19541:e7876a076881 |
---|---|
1252 | 1252 |
1253 return val; | 1253 return val; |
1254 } | 1254 } |
1255 | 1255 |
1256 DEFUN ("search-backward", Fsearch_backward, Ssearch_backward, 1, 4, | 1256 DEFUN ("search-backward", Fsearch_backward, Ssearch_backward, 1, 4, |
1257 "sSearch backward: ", | 1257 "MSearch backward: ", |
1258 "Search backward from point for STRING.\n\ | 1258 "Search backward from point for STRING.\n\ |
1259 Set point to the beginning of the occurrence found, and return point.\n\ | 1259 Set point to the beginning of the occurrence found, and return point.\n\ |
1260 An optional second argument bounds the search; it is a buffer position.\n\ | 1260 An optional second argument bounds the search; it is a buffer position.\n\ |
1261 The match found must not extend before that position.\n\ | 1261 The match found must not extend before that position.\n\ |
1262 Optional third argument, if t, means if fail just return nil (no error).\n\ | 1262 Optional third argument, if t, means if fail just return nil (no error).\n\ |
1267 Lisp_Object string, bound, noerror, count; | 1267 Lisp_Object string, bound, noerror, count; |
1268 { | 1268 { |
1269 return search_command (string, bound, noerror, count, -1, 0, 0); | 1269 return search_command (string, bound, noerror, count, -1, 0, 0); |
1270 } | 1270 } |
1271 | 1271 |
1272 DEFUN ("search-forward", Fsearch_forward, Ssearch_forward, 1, 4, "sSearch: ", | 1272 DEFUN ("search-forward", Fsearch_forward, Ssearch_forward, 1, 4, "MSearch: ", |
1273 "Search forward from point for STRING.\n\ | 1273 "Search forward from point for STRING.\n\ |
1274 Set point to the end of the occurrence found, and return point.\n\ | 1274 Set point to the end of the occurrence found, and return point.\n\ |
1275 An optional second argument bounds the search; it is a buffer position.\n\ | 1275 An optional second argument bounds the search; it is a buffer position.\n\ |
1276 The match found must not extend after that position. nil is equivalent\n\ | 1276 The match found must not extend after that position. nil is equivalent\n\ |
1277 to (point-max).\n\ | 1277 to (point-max).\n\ |