From: yoichi Date: Sun, 25 Jul 2004 12:27:51 +0000 (+0000) Subject: * mel-g.el (TopLevel): Cause error when "mmencode" is not found. X-Git-Tag: flim-1_14_7~10 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=28ba362026c6d0d816d994b1d771507bc2828ef2;p=elisp%2Fflim.git * mel-g.el (TopLevel): Cause error when "mmencode" is not found. --- diff --git a/ChangeLog b/ChangeLog index af55594..1222cc9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2004-07-25 Yoichi NAKAYAMA + + * mel-g.el (TopLevel): Cause error when "mmencode" is not found. + 2004-06-09 Yoichi NAKAYAMA * std11.el (std11-parse-word-or-comment-or-period): Renamed from diff --git a/mel-g.el b/mel-g.el index 7f88e19..aa8b9f3 100644 --- a/mel-g.el +++ b/mel-g.el @@ -51,6 +51,8 @@ (` ("sh" "-c" (, (concat file " -u | gzip -dc")))))) "*list of gzip64 decoder program name and its arguments.") +(unless (and gzip64-external-encoder gzip64-external-decoder) + (error "Please install mmencode command.")) ;;; @ encoder/decoder for region ;;;