diff options
| -rw-r--r-- | Library/Formula/emacs.rb | 4 |
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 |
