# HG changeset patch # User Andreas Schwab # Date 1072350357 0 # Node ID b9463f85fb043263101579d0b2ef27c95006637b # Parent 9e3a6298633c67da059b5af36a95d1956e6a572e (jka-compr-insert-file-contents): Avoid error when file not found. diff -r 9e3a6298633c -r b9463f85fb04 lisp/jka-compr.el --- a/lisp/jka-compr.el Thu Dec 25 04:52:54 2003 +0000 +++ b/lisp/jka-compr.el Thu Dec 25 11:05:57 2003 +0000 @@ -590,10 +590,11 @@ (file-exists-p local-copy) (delete-file local-copy))) - (decode-coding-inserted-region - (point) (+ (point) size) - (jka-compr-byte-compiler-base-file-name file) - visit beg end replace) + (unless notfound + (decode-coding-inserted-region + (point) (+ (point) size) + (jka-compr-byte-compiler-base-file-name file) + visit beg end replace)) (and visit