Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ==> You may need to update your .emacs file. The following shows
- ==> the minimal configuration needed. Note that it shows what is
- ==> needed to configure JDEE's dependencies elib and cedet.
- ==> ;; This .emacs file illustrates the minimal setup
- ==> ;; required to run the JDE.
- ==>
- ==> ;; Update the Emacs load-path to include the path to
- ==> ;; the JDE and its require packages. This code assumes
- ==> ;; that you have installed the packages in the emacs/site
- ==> ;; subdirectory of your home directory.
- ==> (add-to-list 'load-path (expand-file-name "~/emacs/site/jde/lisp"))
- ==> (add-to-list 'load-path (expand-file-name "~/emacs/site/cedet/common"))
- ==> (add-to-list 'load-path (expand-file-name "~/emacs/site/elib"))
- ==>
- ==> ;; Initialize CEDET.
- ==> (load-file (expand-file-name "~/emacs/site/cedet/common/cedet.el"))
- ==>
- ==>
- ==> ;; If you want Emacs to defer loading the JDE until you open a
- ==> ;; Java file, edit the following line
- ==> (setq defer-loading-jde nil)
- ==> ;; to read:
- ==> ;;
- ==> ;; (setq defer-loading-jde t)
- ==> ;;
- ==>
- ==> (if defer-loading-jde
- ==> (progn
- ==> (autoload 'jde-mode "jde" "JDE mode." t)
- ==> (setq auto-mode-alist
- ==> (append
- ==> '(("\\.java\\'" . jde-mode))
- ==> auto-mode-alist)))
- ==> (require 'jde))
Add Comment
Please, Sign In to add comment