Skip to content

Commit

Permalink
Fix typo.
Browse files Browse the repository at this point in the history
  • Loading branch information
espenhw committed Feb 28, 2009
1 parent 452583b commit 7d0c64b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/main/lisp/malabar-annotations.el
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@

;;; Code:

(defun c-preprend-offset (symbol offset)
(defun c-prepend-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 ((old-offset (cdr-safe (or (assq symbol c-offsets-alist)
Expand All @@ -54,11 +54,11 @@ The setup function adds one of the custom indentation functions
to the offset lists of the symbols `arglist-intro', `topmost-intro-cont', `arglist-intro',
`arglist-close', `statement-cont' and `func-decl-cont'.
This function should be called after any calls to `c-set-style'."
(c-preprend-offset 'arglist-intro 'c-single-indent-after-java-annotations)
(c-preprend-offset 'topmost-intro-cont 'c-no-indent-after-java-annotations)
(c-preprend-offset 'arglist-close 'c-no-indent-after-java-annotations)
(c-preprend-offset 'statement-cont 'c-no-indent-after-java-annotations)
(c-preprend-offset 'func-decl-cont 'c-no-indent-after-java-annotations))
(c-prepend-offset 'arglist-intro 'c-single-indent-after-java-annotations)
(c-prepend-offset 'topmost-intro-cont 'c-no-indent-after-java-annotations)
(c-prepend-offset 'arglist-close 'c-no-indent-after-java-annotations)
(c-prepend-offset 'statement-cont 'c-no-indent-after-java-annotations)
(c-prepend-offset 'func-decl-cont 'c-no-indent-after-java-annotations))

(defun c-only-java-annotations-p (langelem)
"Check if there are only java annotations before the current line.
Expand Down

0 comments on commit 7d0c64b

Please sign in to comment.