Function: c-lineup-argcont-+

c-lineup-argcont-+ is a byte-compiled function defined in cc-align.el.gz.

Signature

(c-lineup-argcont-+ LANGELEM)

Documentation

Indent an argument continuation c-basic-offset in from the first argument.

This first argument is that on a previous line at the same level of nesting.

foo (xyz, uvw, aaa + bbb + ccc
         + ddd + eee + fff); <- c-lineup-argcont-+
     <--> c-basic-offset

Only continuation lines like this are touched, nil being returned on lines which are the start of an argument.

Works with: arglist-cont, arglist-cont-nonempty.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/cc-align.el.gz
(defun c-lineup-argcont-+ (langelem)
  "Indent an argument continuation `c-basic-offset' in from the first argument.

This first argument is that on a previous line at the same level of nesting.

foo (xyz, uvw, aaa + bbb + ccc
         + ddd + eee + fff);    <- c-lineup-argcont-+
     <-->                          c-basic-offset

Only continuation lines like this are touched, nil being returned
on lines which are the start of an argument.

Works with: arglist-cont, arglist-cont-nonempty."
  (save-excursion
    (when (c-lineup-argcont-1 langelem)	; Check we've got a continued argument...
      ;; ... but ignore the position found.
      (goto-char (c-langelem-2nd-pos c-syntactic-element))
      (forward-char)
      (c-forward-syntactic-ws)
      (vector (+ (current-column) c-basic-offset)))))