[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/type-break.el,v
From: |
Richard M. Stallman |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/type-break.el,v |
Date: |
Sun, 11 Mar 2007 21:16:51 +0000 |
CVSROOT: /cvsroot/emacs
Module name: emacs
Changes by: Richard M. Stallman <rms> 07/03/11 21:16:51
Index: type-break.el
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/type-break.el,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -b -r1.45 -r1.46
--- type-break.el 4 Mar 2007 17:50:46 -0000 1.45
+++ type-break.el 11 Mar 2007 21:16:51 -0000 1.46
@@ -579,10 +579,13 @@
(setq file
(with-current-buffer
(find-file-noselect file 'nowarn)
+ (condition-case nil
(save-excursion
(goto-char (point-min))
(forward-line 1)
- (read (current-buffer)))))))
+ (read (current-buffer)))
+ (end-of-file
+ (error "End of file in `%s'" file)))))))
file
0)))