]> code.delx.au - gnu-emacs/commitdiff
Fixes: debbugs:13797
authorAndreas Schwab <schwab@linux-m68k.org>
Sun, 24 Feb 2013 08:09:24 +0000 (09:09 +0100)
committerAndreas Schwab <schwab@linux-m68k.org>
Sun, 24 Feb 2013 08:09:24 +0000 (09:09 +0100)
* xdisp.c (set_message): Only check for debug-on-message if STRING
is a string.

src/ChangeLog
src/xdisp.c

index 914c005a0464e6b02d9bda2124f423a4af87c519..42a2fd0dcac23b394ee4b33eb58e4e564d9e48e7 100644 (file)
@@ -1,3 +1,8 @@
+2013-02-24  Andreas Schwab  <schwab@linux-m68k.org>
+
+       * xdisp.c (set_message): Only check for debug-on-message if STRING
+       is a string.  (Bug#13797)
+
 2013-02-24  Paul Eggert  <eggert@cs.ucla.edu>
 
        Fix regression introduced by July 10 filelock.c patch.
index 55d1272faafd902e4a92b2c6802d53d5a1ff59cf..d42862b190a2d694b569c4badcf286a6854f4aab 100644 (file)
@@ -10636,6 +10636,7 @@ set_message (const char *s, Lisp_Object string,
   help_echo_showing_p = 0;
 
   if (STRINGP (Vdebug_on_message)
+      && STRINGP (string)
       && fast_string_match (Vdebug_on_message, string) >= 0)
     call_debugger (list2 (Qerror, string));
 }