Hi!
When JDEE 2.4.0 (any version) is compiled, then cc-mode macros are not
evaluated and compilation warning is shown (note that c-point is a
macro):
[exec] jde-annotations.el:145:1:Warning: the function `c-point' is not known to 
be
[exec]     defined.

Because of this indentation of annotated java code doesn't work. Error
is shown "Invalid function: c-point".

To make this work it's enough to add (eval-when-compile (require
'cc-mode)) to the jde-annotations.el.

Regards,
Przemysław Wojnowski

Index: jde-annotations.el
===================================================================
--- jde-annotations.el	(wersja 101)
+++ jde-annotations.el	(kopia robocza)
@@ -33,6 +33,9 @@
 
 ;;; Code:
 
+(eval-when-compile
+  (require 'cc-mode))
+
 (defun c-preprend-offset (symbol offset)
   "Find the offset entry for SYMBOL and add OFFSET at the front of the list.
 See `c-set-offset' for a description of OFFSET and SYMBOL."
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
jdee-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jdee-users

Reply via email to