aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/caveats.rb
diff options
context:
space:
mode:
authorAlex Dunn2015-08-11 20:25:33 -0700
committerAlex Dunn2015-08-12 09:38:10 -0700
commit55d685f759619fe2c02792e0370a7142243f4b6f (patch)
tree815baf96b3e1be51dda90b3a22e3a9db1b60fd4b /Library/Homebrew/caveats.rb
parent250e9756459c59b08cb1070286991a1321853c56 (diff)
downloadbrew-55d685f759619fe2c02792e0370a7142243f4b6f.tar.bz2
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.
Diffstat (limited to 'Library/Homebrew/caveats.rb')
-rw-r--r--Library/Homebrew/caveats.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Homebrew/caveats.rb b/Library/Homebrew/caveats.rb
index 3eab3722b..7c0cf0d0a 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: