Skip to content

Commit

Permalink
Oops, put the mode function in the hook, not the keymap.
Browse files Browse the repository at this point in the history
  • Loading branch information
skeeto committed Jun 27, 2013
1 parent 1ed8a46 commit 3350708
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ant-project-mode.el
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ against `ant-project-source-roots'."

;; Enable the minor mode wherever java-mode is used.
;;;###autoload
(add-hook 'java-mode-hook 'ant-project-mode-map)
(add-hook 'java-mode-hook 'ant-project-mode)

(provide 'ant-project-mode)

Expand Down

0 comments on commit 3350708

Please sign in to comment.