mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-03-06 05:52:32 -08:00
(Fclear_string): Signal an error if STRING is not a string.
This commit is contained in:
parent
8e975df9c8
commit
fa164e6ae7
2 changed files with 3 additions and 0 deletions
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
* eval.c (Fdefmacro): Signal an error if NAME is not a symbol.
|
||||
|
||||
* fns.c (Fclear_string): Signal an error if STRING is not a string.
|
||||
|
||||
2004-07-05 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
|
||||
|
||||
* macterm.c (mac_initialize_display_info): Use CGGetActiveDisplayList
|
||||
|
|
|
|||
|
|
@ -2370,6 +2370,7 @@ This makes STRING unibyte and may change its length. */)
|
|||
(string)
|
||||
Lisp_Object string;
|
||||
{
|
||||
CHECK_STRING (string);
|
||||
int len = SBYTES (string);
|
||||
bzero (SDATA (string), len);
|
||||
STRING_SET_CHARS (string, len);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue