From: yoichi Date: Sun, 25 Jul 2004 12:28:00 +0000 (+0000) Subject: * mel-g.el (TopLevel): Cause error when "mmencode" is not found. X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1bd51fb7151afe3b6d9d2d75c1ee4e71a027d59c;p=elisp%2Fflim.git * mel-g.el (TopLevel): Cause error when "mmencode" is not found. --- diff --git a/ChangeLog b/ChangeLog index 2c640c9..cb78141 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 ;;;