diff options
Diffstat (limited to 'src/keyboard.c')
-rw-r--r-- | src/keyboard.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/keyboard.c b/src/keyboard.c index 209bf9dc7c..5787276e55 100644 --- a/src/keyboard.c +++ b/src/keyboard.c @@ -6890,6 +6890,8 @@ If FILE is nil, close any open dribble file.") { file = Fexpand_file_name (file, Qnil); dribble = fopen (XSTRING (file)->data, "w"); + if (dribble == 0) + report_file_error ("Opening dribble", Fcons (file, Qnil)); } return Qnil; } |