 (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."
+  (defvar c-offsets-alist)
   (let ((old-offset (cdr-safe (or (assq symbol c-offsets-alist)
                                   (assq symbol (get 'c-offsets-alist
-                                                      'c-stylevar-fallback))))))
+                                                    'c-stylevar-fallback))))))
     (if old-offset
         (if (listp old-offset)
             (c-set-offset symbol (cons offset old-offset))



;;; Commentary:
;; 
;; This library tries to indent java annotations
;; (http://java.sun.com/j2se/1.5.0/docs/guide/language/annotations.html)
;; like the code examples listed in the webpage.


Indents as
@RequestForEnhancement(
    id       = 2868724,
...

instead of
@RequestForEnhancement(
                       id            = 2868724,
...

Argument LANGELEM The language element being indented."
  (defvar c-basic-offset)
  (if (c-only-java-annotations-p langelem)
      c-basic-offset))

(provide 'java-mode-indent-annotations)
