diff --git a/shinyApp b/shinyApp
index 432d093e5c01c04466d6c72a8c7b94ce60940b25..9d71a51d631cc62876d0e09a0ef09410ac814054 100755
--- a/shinyApp
+++ b/shinyApp
@@ -86,7 +86,7 @@ build_App() {
     case $1 in
         run)
             echo "Criando ui.R e server.R em $DIR"
-            emacs server.R ui.R &
+            emacs24 server.R ui.R &
             echo "Pressione ^C para interromper a aplicação"
             Rscript -e "shiny::runApp(getwd(), launch.browser = TRUE)"
             ;;
@@ -142,7 +142,7 @@ build_AppTemplate() {
     case $1 in
         run)
             echo "Criando ui.R e server.R em $DIR"
-            emacs server.R ui.R &
+            emacs24 server.R ui.R &
             echo "Pressione ^C para interromper a aplicação"
             Rscript -e "shiny::runApp(getwd(), launch.browser = TRUE)"
             ;;
@@ -201,7 +201,7 @@ elif [ $1 = "run" ]; then
                 ;;
             -o ) 
                 echo "Executando a aplicação e abrir arquivos no emacs"
-                emacs server.R ui.R &
+                emacs24 server.R ui.R &
                 echo "Pressione ^C para interromper a aplicação"
                 Rscript -e "shiny::runApp(getwd(), launch.browser = TRUE)"
                 ;;
@@ -230,7 +230,7 @@ elif [ $1 = "run" ]; then
                 echo "Verifique os arquivos server.R e ui.R em $3"
                 exit 1
             fi
-            emacs server.R ui.R &
+            emacs24 server.R ui.R &
             echo "Pressione ^C para interromper a aplicação"
             Rscript -e "shiny::runApp(getwd(), launch.browser = TRUE)"
         elif [ -d $2 ] && [ $3 = "-o" ]; then
@@ -241,7 +241,7 @@ elif [ $1 = "run" ]; then
                 echo "Verifique os arquivos server.R e ui.R em $2"
                 exit 1
             fi
-            emacs server.R ui.R &
+            emacs24 server.R ui.R &
             echo "Pressione ^C para interromper a aplicação"
             Rscript -e "shiny::runApp(getwd(), launch.browser = TRUE)"
         else