Skip to content

Commit

Permalink
Emacs: disable fullscreen patch for HEAD
Browse files Browse the repository at this point in the history
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
  • Loading branch information
Andrea Bedini authored and adamv committed Mar 5, 2011
1 parent 929a8ab commit 348c872
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Library/Formula/emacs.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ def options
end

def patches
"https://github.com/downloads/typester/emacs/feature-fullscreen.patch" if ARGV.include? "--cocoa"
if ARGV.include? "--cocoa" and not ARGV.build_head?
"https://github.com/downloads/typester/emacs/feature-fullscreen.patch"
end
end

def caveats
Expand Down

0 comments on commit 348c872

Please sign in to comment.