diff options
author | Juri Linkov <juri@jurta.org> | 2012-09-28 19:38:07 +0300 |
---|---|---|
committer | Juri Linkov <juri@jurta.org> | 2012-09-28 19:38:07 +0300 |
commit | 53baf48a6e99b5ff434d5177b00beda3fc9a8f71 (patch) | |
tree | 8c9bd919742f9f986a342b7b1968ccfd1eee5737 /lisp/emacs-lisp/easymenu.el | |
parent | e61d39cddfd015032a6419ce75c36ecdf1e9fe9f (diff) | |
download | emacs-53baf48a6e99b5ff434d5177b00beda3fc9a8f71.tar.gz emacs-53baf48a6e99b5ff434d5177b00beda3fc9a8f71.tar.bz2 emacs-53baf48a6e99b5ff434d5177b00beda3fc9a8f71.zip |
Display archive errors in the echo area instead of inserting to the file buffer.
* lisp/arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
to STDERR-TEST that can be a regexp matching a successful output.
Create a temporary file and redirect stderr to it. Search for
STDERR-TEST in the stderr output and display it in the echo area
if no match is found.
(archive-extract-by-file): New function like
`archive-extract-by-stdout' but extracting archives to files
and looking for successful matches in stdout. Function body is
mostly copied from `archive-rar-extract'.
(archive-rar-extract): Use `archive-extract-by-file'.
(archive-7z-extract): Use `archive-extract-by-stdout'.
Fixes: debbugs:10347
Diffstat (limited to 'lisp/emacs-lisp/easymenu.el')
0 files changed, 0 insertions, 0 deletions