mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-24 07:20:37 +00:00
Fixes: debbugs:13797
* xdisp.c (set_message): Only check for debug-on-message if STRING is a string.
This commit is contained in:
parent
1938d88c74
commit
51aa2a8b79
@ -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.
|
||||
|
@ -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));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user