diff --git a/Library/Homebrew/formula_cellar_checks.rb b/Library/Homebrew/formula_cellar_checks.rb index f16750b150..b3ace41e8b 100644 --- a/Library/Homebrew/formula_cellar_checks.rb +++ b/Library/Homebrew/formula_cellar_checks.rb @@ -174,7 +174,7 @@ module FormulaCellarChecks end def check_emacs_lisp(share, name) - return unless share.directory? + return unless (share/"emacs/site-lisp").directory? # Emacs itself can do what it wants return if name == "emacs"