From 55d685f759619fe2c02792e0370a7142243f4b6f Mon Sep 17 00:00:00 2001 From: Alex Dunn Date: Tue, 11 Aug 2015 20:25:33 -0700 Subject: [PATCH] caveats.rb: don't print elisp_caveats for keg-only Since they won't have been installed into `#{HOMEBREW_PREFIX}/share/emacs/site-lisp/` Closes Homebrew/homebrew#42839. --- Library/Homebrew/caveats.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/Library/Homebrew/caveats.rb b/Library/Homebrew/caveats.rb index 3eab3722b9..7c0cf0d0af 100644 --- a/Library/Homebrew/caveats.rb +++ b/Library/Homebrew/caveats.rb @@ -134,6 +134,7 @@ class Caveats end def elisp_caveats + return if f.keg_only? if keg && keg.elisp_installed? <<-EOS.undent Emacs Lisp files have been installed to: