diff options
| author | Paul Eggert | 2011-01-30 14:22:58 -0800 |
|---|---|---|
| committer | Paul Eggert | 2011-01-30 14:22:58 -0800 |
| commit | 4eec7f8b2b465c6fc2c09d37d4da2b540f607df0 (patch) | |
| tree | 9f4e30300e4f96dd3c72f5f435032f8180ce1a6c /src/search.c | |
| parent | fcabb1a6e66f7e6cf4fe0984c4d5c169f4decd8a (diff) | |
| parent | 42a5b22fc0201fe98ad8a093c3ab91122ab3a72b (diff) | |
| download | emacs-4eec7f8b2b465c6fc2c09d37d4da2b540f607df0.tar.gz emacs-4eec7f8b2b465c6fc2c09d37d4da2b540f607df0.zip | |
Use SSDATA when the context wants char *.
Diffstat (limited to 'src/search.c')
| -rw-r--r-- | src/search.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/search.c b/src/search.c index 76c04a22d34..c0f8d8067e6 100644 --- a/src/search.c +++ b/src/search.c | |||
| @@ -148,7 +148,7 @@ compile_pattern_1 (struct regexp_cache *cp, Lisp_Object pattern, Lisp_Object tra | |||
| 148 | | (posix ? 0 : RE_NO_POSIX_BACKTRACKING)); | 148 | | (posix ? 0 : RE_NO_POSIX_BACKTRACKING)); |
| 149 | 149 | ||
| 150 | if (STRINGP (Vsearch_spaces_regexp)) | 150 | if (STRINGP (Vsearch_spaces_regexp)) |
| 151 | re_set_whitespace_regexp (SDATA (Vsearch_spaces_regexp)); | 151 | re_set_whitespace_regexp (SSDATA (Vsearch_spaces_regexp)); |
| 152 | else | 152 | else |
| 153 | re_set_whitespace_regexp (NULL); | 153 | re_set_whitespace_regexp (NULL); |
| 154 | 154 | ||