diff options
author | Kyle Meyer <kyle@kyleam.com> | 2021-05-23 17:46:23 -0400 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2021-05-23 17:47:53 -0400 |
commit | 3cf9a8213ff78b9226dba0ad0c045c7de41f3c96 (patch) | |
tree | 283a9180a814c1c626e3256bf6c284ec2b1c6898 | |
parent | 296cfaebf706e9eedb4106f1e3d0e0d810e0043c (diff) | |
download | piem-3cf9a8213ff78b9226dba0ad0c045c7de41f3c96.tar.gz |
piem-gunzip-buffer: Don't assume t.mbox.gz is being decompressed
If the gunzip call fails, piem-gunzip-buffer says "Decompressing
t.mbox.gz failed". All the piem-gunzip-buffer callers at the moment
do use to decompress t.mbox.gz downloads, but that's of course not
something this function should assume or know about.
Message-Id: <20210523214623.31331-6-kyle@kyleam.com>
-rw-r--r-- | piem.el | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -536,7 +536,7 @@ is used as the value of `browse-url-browser-function'." (user-error "gunzip executable not found")) (goto-char (point-min)) (unless (= 0 (call-process-region nil nil "gunzip" nil t)) - (error "Decompressing t.mbox.gz failed")) + (error "Decompressing buffer failed")) (delete-region (point) (point-max)) (goto-char (point-min))) |