summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-emacs/aspectj4emacs/files/80aspectj4emacs-gentoo.el')
-rw-r--r--app-emacs/aspectj4emacs/files/80aspectj4emacs-gentoo.el24
1 files changed, 24 insertions, 0 deletions
diff --git a/app-emacs/aspectj4emacs/files/80aspectj4emacs-gentoo.el b/app-emacs/aspectj4emacs/files/80aspectj4emacs-gentoo.el
new file mode 100644
index 000000000000..be952dcee6b0
--- /dev/null
+++ b/app-emacs/aspectj4emacs/files/80aspectj4emacs-gentoo.el
@@ -0,0 +1,24 @@
+
+;;; aspectj4emacs site-lisp configuration
+
+(setq load-path (cons "@SITELISP@" load-path))
+(require 'aspectj-mode)
+(require 'ajdee)
+
+;;; JDEE/speedbar settings to make it behave better for AspectJ. You might
+;;; want to do this via a prj.el file (see sample.prj) if you program in
+;;; vanilla Java as well. The sample.prj has settings for spacewar, a more
+;;; complicated project.
+(custom-set-variables
+ '(jde-compiler '("ajc" "ajc")) ; ajc is AspectJ's compiler
+ '(jde-javadoc-command-path "ajdoc"))
+
+;;; The following are settings recommened by AspectJ for Emacs' author
+
+(custom-set-variables
+ ;; Widen the speedbar to show more of AJ's longer tag names.
+ '(speedbar-frame-parameters
+ (quote ((minibuffer) (width . 30) (border-width . 0) (menu-bar-lines . 0)
+ (unsplittable . t))))
+ ;; Don't let speedbar split into submenus smaller than 40 items
+ '(speedbar-tag-split-minimum-length 40))