branch: master commit e190b088f019ac57b7f73a2fa199ef1853c3aaac Author: Noam Postavsky <npost...@users.sourceforge.net> Commit: Noam Postavsky <npost...@users.sourceforge.net>
Rakefile: don't fail with EMACS=t env setting This lets it work from M-x shell. --- Rakefile | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/Rakefile b/Rakefile index 3f94a9a..efbea56 100644 --- a/Rakefile +++ b/Rakefile @@ -2,7 +2,10 @@ require 'fileutils' -$EMACS=ENV["EMACS"] || "emacs" +$EMACS = ENV["EMACS"] +if not $EMACS or $EMACS == 't' + $EMACS = "emacs" +end def find_version File.read("yasnippet.el", :encoding => "UTF-8") =~ /;; Package-version: *([0-9.]+?) *$/