diff options
| author | Richard M. Stallman | 1998-05-24 16:47:05 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1998-05-24 16:47:05 +0000 |
| commit | e81d27c2cf7e0bd41b44c53faf91664f2126154b (patch) | |
| tree | e1a7fccedf65321509991f83f9156cf3f4480dc9 | |
| parent | e18a235e39b535f4c0d1c2d9cb5ee92aad409616 (diff) | |
| download | emacs-e81d27c2cf7e0bd41b44c53faf91664f2126154b.tar.gz emacs-e81d27c2cf7e0bd41b44c53faf91664f2126154b.zip | |
(find-compressed-version): Don't set `error' here.
| -rw-r--r-- | lisp/uncompress.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/uncompress.el b/lisp/uncompress.el index d809f81bd79..ceaa0dac1ba 100644 --- a/lisp/uncompress.el +++ b/lisp/uncompress.el | |||
| @@ -99,7 +99,9 @@ It then selects a major mode from the uncompressed file name and contents." | |||
| 99 | (progn | 99 | (progn |
| 100 | (insert-file-contents buffer-file-name t) | 100 | (insert-file-contents buffer-file-name t) |
| 101 | (goto-char (point-min)) | 101 | (goto-char (point-min)) |
| 102 | (setq error nil) | 102 | ;; No need for this, because error won't be set to t |
| 103 | ;; if this function returns t. | ||
| 104 | ;; (setq error nil) | ||
| 103 | t)))) | 105 | t)))) |
| 104 | 106 | ||
| 105 | (provide 'uncompress) | 107 | (provide 'uncompress) |