Mercurial > emacs
comparison src/search.c @ 20875:4fac9830041a
(search_command): Fix call to search_buffer.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Mon, 09 Feb 1998 00:21:15 +0000 |
parents | c9f608f889b4 |
children | f69969e35e78 |
comparison
equal
deleted
inserted
replaced
20874:223c220043af | 20875:4fac9830041a |
---|---|
890 } | 890 } |
891 | 891 |
892 np = search_buffer (string, PT, PT_BYTE, lim, lim_byte, n, RE, | 892 np = search_buffer (string, PT, PT_BYTE, lim, lim_byte, n, RE, |
893 (!NILP (current_buffer->case_fold_search) | 893 (!NILP (current_buffer->case_fold_search) |
894 ? current_buffer->case_canon_table | 894 ? current_buffer->case_canon_table |
895 : make_number (0)), | 895 : Qnil), |
896 (!NILP (current_buffer->case_fold_search) | 896 (!NILP (current_buffer->case_fold_search) |
897 ? current_buffer->case_eqv_table | 897 ? current_buffer->case_eqv_table |
898 : make_number (0)), | 898 : Qnil), |
899 posix); | 899 posix); |
900 if (np <= 0) | 900 if (np <= 0) |
901 { | 901 { |
902 if (NILP (noerror)) | 902 if (NILP (noerror)) |
903 return signal_failure (string); | 903 return signal_failure (string); |