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.
This commit is contained in:
Alex Dunn 2015-08-11 20:25:33 -07:00
parent 250e975645
commit 55d685f759

View File

@ -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: