From 1bd51fb7151afe3b6d9d2d75c1ee4e71a027d59c Mon Sep 17 00:00:00 2001 From: yoichi Date: Sun, 25 Jul 2004 12:28:00 +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 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 ;;; -- 1.7.10.4