From: Kim F. Storm Date: Tue, 18 Jul 2006 13:29:40 +0000 (+0000) Subject: (text_read_only): Use xsignal0, xsignal1. X-Git-Tag: emacs-pretest-22.0.90~1359 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d0a29e1de77e4c1c01c46d80b6ac2df06b1df2b3;p=emacs.git (text_read_only): Use xsignal0, xsignal1. --- diff --git a/src/textprop.c b/src/textprop.c index 0318d12913f..b89d73a7ef9 100644 --- a/src/textprop.c +++ b/src/textprop.c @@ -86,7 +86,10 @@ static void text_read_only (propval) Lisp_Object propval; { - Fsignal (Qtext_read_only, STRINGP (propval) ? Fcons (propval, Qnil) : Qnil); + if (STRINGP (propval)) + xsignal1 (Qtext_read_only, propval); + + xsignal0 (Qtext_read_only); }