From ffd274e13584f37faed56582fec9a23e726972af Mon Sep 17 00:00:00 2001 From: Carl Worth Date: Tue, 6 Apr 2010 16:44:33 -0700 Subject: [PATCH] debian: Don't try compiling emacs bytecode for emacs < 21 It just doesn't work. --- debian/notmuch.emacsen-install | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/debian/notmuch.emacsen-install b/debian/notmuch.emacsen-install index 4982691e..98ec1282 100755 --- a/debian/notmuch.emacsen-install +++ b/debian/notmuch.emacsen-install @@ -10,6 +10,12 @@ PACKAGE=notmuch if [ ${FLAVOR} = emacs ]; then exit 0; fi +# We know that the notmuch emacs code doesn't work with emacs before emacs23 +if [ ${FLAVOR} = emacs21 ]; then exit 0; fi +if [ ${FLAVOR} = emacs22 ]; then exit 0; fi +if [ ${FLAVOR} = xemacs21 ]; then exit 0; fi +if [ ${FLAVOR} = xemacs22 ]; then exit 0; fi + echo install/${PACKAGE}: Handling install for emacsen flavor ${FLAVOR} #FLAVORTEST=`echo $FLAVOR | cut -c-6` -- 2.26.2