diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2011-01-30 14:22:58 -0800 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2011-01-30 14:22:58 -0800 |
commit | 4eec7f8b2b465c6fc2c09d37d4da2b540f607df0 (patch) | |
tree | 9f4e30300e4f96dd3c72f5f435032f8180ce1a6c /src/minibuf.c | |
parent | fcabb1a6e66f7e6cf4fe0984c4d5c169f4decd8a (diff) | |
parent | 42a5b22fc0201fe98ad8a093c3ab91122ab3a72b (diff) | |
download | emacs-4eec7f8b2b465c6fc2c09d37d4da2b540f607df0.tar.gz emacs-4eec7f8b2b465c6fc2c09d37d4da2b540f607df0.tar.bz2 emacs-4eec7f8b2b465c6fc2c09d37d4da2b540f607df0.zip |
Use SSDATA when the context wants char *.
Diffstat (limited to 'src/minibuf.c')
-rw-r--r-- | src/minibuf.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/minibuf.c b/src/minibuf.c index e4d4e47a55e..921657b450a 100644 --- a/src/minibuf.c +++ b/src/minibuf.c @@ -1762,7 +1762,7 @@ the values STRING, PREDICATE and `lambda'. */) { /* Bypass intern-soft as that loses for nil. */ tem = oblookup (collection, - SDATA (string), + SSDATA (string), SCHARS (string), SBYTES (string)); if (!SYMBOLP (tem)) @@ -1773,7 +1773,7 @@ the values STRING, PREDICATE and `lambda'. */) string = Fstring_make_multibyte (string); tem = oblookup (collection, - SDATA (string), + SSDATA (string), SCHARS (string), SBYTES (string)); } @@ -2185,4 +2185,3 @@ properties. */); defsubr (&Sassoc_string); defsubr (&Scompleting_read); } - |