diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2011-01-30 14:17:44 -0800 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2011-01-30 14:17:44 -0800 |
commit | 42a5b22fc0201fe98ad8a093c3ab91122ab3a72b (patch) | |
tree | e9e37d432417ac382a36b9e6f26db38e59ca0585 /src/minibuf.c | |
parent | 3de84ad9c45382c181e3383d433442f4e19ba722 (diff) | |
download | emacs-42a5b22fc0201fe98ad8a093c3ab91122ab3a72b.tar.gz emacs-42a5b22fc0201fe98ad8a093c3ab91122ab3a72b.tar.bz2 emacs-42a5b22fc0201fe98ad8a093c3ab91122ab3a72b.zip |
Use SSDATA when the context wants char *.
* alloc.c, buffer.c, bytecode.c, callproc.c, dired.c:
* dispnew.c, doc.c, editfns.c, emacs.c, fileio.c, filelock.c:
* fns.c, font.c, frame.c, image.c, indent.c, keyboard.c:
* lread.c, minibuf.c, print.c, process.c, search.c, widget.c:
* xdisp.c, xfaces.c, xfns.c, xml.c, xselect.c, xterm.c:
Use SSDATA (not SDATA) when the context of the expression wants
char * (not unsigned 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); } - |