From: Karl Heuer Date: Sat, 17 Feb 1996 02:32:31 +0000 (+0000) Subject: (Fopen_dribble_file): Check for failure. X-Git-Tag: emacs-19.34~1269 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ab6ca1de2241ce6d2ee3ed3e1d01629d61d148e5;p=emacs.git (Fopen_dribble_file): Check for failure. --- diff --git a/src/keyboard.c b/src/keyboard.c index 209bf9dc7c9..5787276e554 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; }