From: Paul Eggert Date: Wed, 5 Sep 2012 03:37:32 +0000 (-0700) Subject: * xdisp.c (set_message): Simplify and reindent last change. X-Git-Tag: emacs-24.2.90~406^2~12 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=014d93beeff943c5b5f34995002ec575cd15c244;p=emacs.git * xdisp.c (set_message): Simplify and reindent last change. --- diff --git a/src/ChangeLog b/src/ChangeLog index 7922a92d0fc..5ff49aadd87 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2012-09-05 Paul Eggert + + * xdisp.c (set_message): Simplify and reindent last change. + 2012-09-05 Juanma Barranquero * makefile.w32-in ($(BLD)/sysdep.$(O)): Update dependencies. diff --git a/src/xdisp.c b/src/xdisp.c index 90a8de0be27..bec9ec91d2f 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -10601,12 +10601,12 @@ set_message (const char *s, Lisp_Object string, message_buf_print = 0; help_echo_showing_p = 0; - if (NILP (Vinhibit_debug_on_message) && - STRINGP (Vdebug_on_message) && - fast_string_match (Vdebug_on_message, string) >= 0) { - specbind (Qinhibit_debug_on_message, Qt); - call_debugger (Fcons (Qerror, Fcons (string, Qnil))); - } + if (NILP (Vinhibit_debug_on_message) && STRINGP (Vdebug_on_message) + && fast_string_match (Vdebug_on_message, string) >= 0) + { + specbind (Qinhibit_debug_on_message, Qt); + call_debugger (list2 (Qerror, string)); + } unbind_to (count, Qnil); }