changeset 2541:09e58f572f19

(diff-parse-differences): Small robustification --- don't lose if we call this with compilation-parsing-end nil
author Eric S. Raymond <esr@snark.thyrsus.com>
date Fri, 16 Apr 1993 19:35:22 +0000
parents 0c20256f752d
children ae4176e2e8fa
files lisp/diff.el
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/diff.el	Fri Apr 16 19:23:21 1993 +0000
+++ b/lisp/diff.el	Fri Apr 16 19:35:22 1993 +0000
@@ -74,7 +74,7 @@
   (message "Parsing differences...")
 
   ;; Don't reparse diffs already seen at last parse.
-  (goto-char compilation-parsing-end)
+  (if compilation-parsing-end (goto-char compilation-parsing-end))
 
   ;; Construct in REGEXP a regexp composed of all those in dired-regexp-alist.
   (let ((regexp (mapconcat (lambda (elt)
@@ -267,4 +267,6 @@
 		      (> (backup-extract-version fn1)
 			 (backup-extract-version fn2))))))))))
 
+(provide 'diff)
+
 ;;; diff.el ends here