diff options
author | Andreas Schwab <schwab@suse.de> | 2003-12-25 11:06:14 +0000 |
---|---|---|
committer | Andreas Schwab <schwab@suse.de> | 2003-12-25 11:06:14 +0000 |
commit | 8290faa335bcb23063c9ee355ccfa1b6def202c6 (patch) | |
tree | e43dbc44b0321c27b66d33524240780a2fb419a2 /lisp/jka-compr.el | |
parent | 077347180056db5004312e8c095f4d524766bf80 (diff) | |
download | emacs-8290faa335bcb23063c9ee355ccfa1b6def202c6.tar.gz |
(jka-compr-insert-file-contents): Avoid error when
file not found.
Diffstat (limited to 'lisp/jka-compr.el')
-rw-r--r-- | lisp/jka-compr.el | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/lisp/jka-compr.el b/lisp/jka-compr.el index dd56c9c0f31..aae0f0f85c1 100644 --- a/lisp/jka-compr.el +++ b/lisp/jka-compr.el @@ -590,10 +590,11 @@ There should be no more than seven characters after the final `/'." (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 |