diff options
Diffstat (limited to 'dev-lang/lua/lua-5.1.5-r105.ebuild')
-rw-r--r-- | dev-lang/lua/lua-5.1.5-r105.ebuild | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/dev-lang/lua/lua-5.1.5-r105.ebuild b/dev-lang/lua/lua-5.1.5-r105.ebuild index 3cab2ad2e8c1..98f24f0adce9 100644 --- a/dev-lang/lua/lua-5.1.5-r105.ebuild +++ b/dev-lang/lua/lua-5.1.5-r105.ebuild @@ -141,3 +141,11 @@ multilib_src_test() { test/lua.static test/${test}.lua && die "test $test failed" done } + +pkg_postinst() { + if has_version "app-editor/emacs"; then + if ! has_version "app-emacs/lua-mode"; then + einfo "Install app-emacs/lua-mode for lua support for emacs" + fi + fi +} |