aboutsummaryrefslogtreecommitdiffstats
path: root/src/minibuf.c
diff options
context:
space:
mode:
authorPaul Eggert2011-01-30 14:22:58 -0800
committerPaul Eggert2011-01-30 14:22:58 -0800
commit4eec7f8b2b465c6fc2c09d37d4da2b540f607df0 (patch)
tree9f4e30300e4f96dd3c72f5f435032f8180ce1a6c /src/minibuf.c
parentfcabb1a6e66f7e6cf4fe0984c4d5c169f4decd8a (diff)
parent42a5b22fc0201fe98ad8a093c3ab91122ab3a72b (diff)
downloademacs-4eec7f8b2b465c6fc2c09d37d4da2b540f607df0.tar.gz
emacs-4eec7f8b2b465c6fc2c09d37d4da2b540f607df0.zip
Use SSDATA when the context wants char *.
Diffstat (limited to 'src/minibuf.c')
-rw-r--r--src/minibuf.c5
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'. */)
1762 { 1762 {
1763 /* Bypass intern-soft as that loses for nil. */ 1763 /* Bypass intern-soft as that loses for nil. */
1764 tem = oblookup (collection, 1764 tem = oblookup (collection,
1765 SDATA (string), 1765 SSDATA (string),
1766 SCHARS (string), 1766 SCHARS (string),
1767 SBYTES (string)); 1767 SBYTES (string));
1768 if (!SYMBOLP (tem)) 1768 if (!SYMBOLP (tem))
@@ -1773,7 +1773,7 @@ the values STRING, PREDICATE and `lambda'. */)
1773 string = Fstring_make_multibyte (string); 1773 string = Fstring_make_multibyte (string);
1774 1774
1775 tem = oblookup (collection, 1775 tem = oblookup (collection,
1776 SDATA (string), 1776 SSDATA (string),
1777 SCHARS (string), 1777 SCHARS (string),
1778 SBYTES (string)); 1778 SBYTES (string));
1779 } 1779 }
@@ -2185,4 +2185,3 @@ properties. */);
2185 defsubr (&Sassoc_string); 2185 defsubr (&Sassoc_string);
2186 defsubr (&Scompleting_read); 2186 defsubr (&Scompleting_read);
2187} 2187}
2188