Guest User

Untitled

a guest
Feb 21st, 2018
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.25 KB | None | 0 0
  1. ==> You may need to update your .emacs file. The following shows
  2. ==> the minimal configuration needed. Note that it shows what is
  3. ==> needed to configure JDEE's dependencies elib and cedet.
  4.  
  5. ==> ;; This .emacs file illustrates the minimal setup
  6. ==> ;; required to run the JDE.
  7. ==>
  8. ==> ;; Update the Emacs load-path to include the path to
  9. ==> ;; the JDE and its require packages. This code assumes
  10. ==> ;; that you have installed the packages in the emacs/site
  11. ==> ;; subdirectory of your home directory.
  12. ==> (add-to-list 'load-path (expand-file-name "~/emacs/site/jde/lisp"))
  13. ==> (add-to-list 'load-path (expand-file-name "~/emacs/site/cedet/common"))
  14. ==> (add-to-list 'load-path (expand-file-name "~/emacs/site/elib"))
  15. ==>
  16. ==> ;; Initialize CEDET.
  17. ==> (load-file (expand-file-name "~/emacs/site/cedet/common/cedet.el"))
  18. ==>
  19. ==>
  20. ==> ;; If you want Emacs to defer loading the JDE until you open a
  21. ==> ;; Java file, edit the following line
  22. ==> (setq defer-loading-jde nil)
  23. ==> ;; to read:
  24. ==> ;;
  25. ==> ;; (setq defer-loading-jde t)
  26. ==> ;;
  27. ==>
  28. ==> (if defer-loading-jde
  29. ==> (progn
  30. ==> (autoload 'jde-mode "jde" "JDE mode." t)
  31. ==> (setq auto-mode-alist
  32. ==> (append
  33. ==> '(("\\.java\\'" . jde-mode))
  34. ==> auto-mode-alist)))
  35. ==> (require 'jde))
Add Comment
Please, Sign In to add comment