aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorAndrea Bedini2011-03-06 02:04:40 +1100
committerAdam Vandenberg2011-03-05 09:49:51 -0800
commit348c8724992c9f1ba38fe6b29f69ab706ed53cc1 (patch)
treee10811bf38bc3bc021c01be5584d1eb6245e9fb2 /Library/Formula
parent929a8abdaa286c01e7bf1c0a288b069cd6bd4fdc (diff)
downloadhomebrew-348c8724992c9f1ba38fe6b29f69ab706ed53cc1.tar.bz2
Emacs: disable fullscreen patch for HEAD
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/emacs.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/Library/Formula/emacs.rb b/Library/Formula/emacs.rb
index 0645a16a6..83979da7d 100644
--- a/Library/Formula/emacs.rb
+++ b/Library/Formula/emacs.rb
@@ -20,7 +20,9 @@ class Emacs <Formula
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