Skip to content

Commit

Permalink
fix gorepl-mode enabled globally
Browse files Browse the repository at this point in the history
remove easy-menu-define.
  • Loading branch information
stardiviner committed Nov 21, 2015
1 parent c4ad74c commit cbf969e
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions gorepl-mode.el
Original file line number Diff line number Diff line change
Expand Up @@ -135,14 +135,6 @@
:group 'gorepl
:type 'string)

(easy-menu-define gorepl-mode gorepl-mode-map
"Menu for Gorepl Minor Mode."
'("Gorepl"
["Run Repl" gorepl-run :help "Run a Gore Repl in other buffer"]
["Run Repl Loading a file" gorepl-run-load-current-file :help "Run a Gore Repl in other buffer loading a file in the context."]
["Eval Region" gorepl-eval-region :help "Evaluate selected region with Gore"]
["Eval Line" gorepl-eval-line :help "Evaluate current line with Gore"]))

;;;###autoload
(define-minor-mode gorepl-mode
"A minor mode for run a go repl in top of gore"
Expand Down

0 comments on commit cbf969e

Please sign in to comment.