From 28ba362026c6d0d816d994b1d771507bc2828ef2 Mon Sep 17 00:00:00 2001 From: yoichi Date: Sun, 25 Jul 2004 12:27:51 +0000 Subject: [PATCH] * mel-g.el (TopLevel): Cause error when "mmencode" is not found. --- ChangeLog | 4 ++++ mel-g.el | 2 ++ 2 files changed, 6 insertions(+) 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 ;;; -- 1.7.10.4