Mercurial > emacs
diff src/editfns.c @ 112434:9de5a68b57e1
Promote SSDATA macro from gtkutil.c and xsmfns.c to lisp.h.
author | Paul Eggert <eggert@cs.ucla.edu> |
---|---|
date | Sat, 22 Jan 2011 18:56:06 -0800 |
parents | 42e22c4f06b7 |
children |
line wrap: on
line diff
--- a/src/editfns.c Sat Jan 22 17:09:09 2011 -0800 +++ b/src/editfns.c Sat Jan 22 18:56:06 2011 -0800 @@ -1397,7 +1397,7 @@ get_system_name (void) { if (STRINGP (Vsystem_name)) - return (const char *) SDATA (Vsystem_name); + return SSDATA (Vsystem_name); else return ""; } @@ -1406,7 +1406,7 @@ get_operating_system_release (void) { if (STRINGP (Voperating_system_release)) - return (char *) SDATA (Voperating_system_release); + return SSDATA (Voperating_system_release); else return ""; } @@ -1814,7 +1814,7 @@ if (EQ (zone, Qt)) tzstring = "UTC0"; else if (STRINGP (zone)) - tzstring = (char *) SDATA (zone); + tzstring = SSDATA (zone); else if (INTEGERP (zone)) { int abszone = eabs (XINT (zone)); @@ -2003,7 +2003,7 @@ else { CHECK_STRING (tz); - tzstring = (char *) SDATA (tz); + tzstring = SSDATA (tz); } set_time_zone_rule (tzstring); @@ -4677,4 +4677,3 @@ defsubr (&Ssave_restriction); defsubr (&Stranspose_regions); } -