]> git.eshelyaron.com Git - emacs.git/commitdiff
* xdisp.c (set_message): Simplify and reindent last change.
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 5 Sep 2012 03:37:32 +0000 (20:37 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 5 Sep 2012 03:37:32 +0000 (20:37 -0700)
src/ChangeLog
src/xdisp.c

index 7922a92d0fc2d1e1797ac4b2f833787d0ede1db7..5ff49aadd8781c6c411468c0ae4f42f06c8a450c 100644 (file)
@@ -1,3 +1,7 @@
+2012-09-05  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * xdisp.c (set_message): Simplify and reindent last change.
+
 2012-09-05  Juanma Barranquero  <lekktu@gmail.com>
 
        * makefile.w32-in ($(BLD)/sysdep.$(O)): Update dependencies.
index 90a8de0be279d860ef512eca94fd0c46f0ac6580..bec9ec91d2fa09c4fe072f550103bf0106f14555 100644 (file)
@@ -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);
 }