]> git.eshelyaron.com Git - emacs.git/commitdiff
(Fclear_string): Put call to CHECK_STRING in correct place.
authorLuc Teirlinck <teirllm@auburn.edu>
Tue, 6 Jul 2004 17:55:00 +0000 (17:55 +0000)
committerLuc Teirlinck <teirllm@auburn.edu>
Tue, 6 Jul 2004 17:55:00 +0000 (17:55 +0000)
src/ChangeLog
src/fns.c

index 18fdeb633f5fc83abe1212f88a267e6ca43ccd08..252a7591d20a6026911413b25b7d8dd026235a93 100644 (file)
@@ -1,3 +1,7 @@
+2004-07-06  Luc Teirlinck  <teirllm@auburn.edu>
+
+       * fns.c (Fclear_string): Put call to CHECK_STRING in correct place.
+
 2004-07-06  John Paul Wallington  <jpw@gnu.org>
 
        * eval.c (Fdefmacro): Signal an error if NAME is not a symbol.
index cbd0dc91d2bf5f6f1ba5780757e1f9622dd5621e..4dd04bf0b503fa5e894a197b006893156c2c46e1 100644 (file)
--- a/src/fns.c
+++ b/src/fns.c
@@ -2370,8 +2370,8 @@ This makes STRING unibyte and may change its length.  */)
      (string)
      Lisp_Object string;
 {
-  CHECK_STRING (string);
   int len = SBYTES (string);
+  CHECK_STRING (string);
   bzero (SDATA (string), len);
   STRING_SET_CHARS (string, len);
   STRING_SET_UNIBYTE (string);