Function: c-lineup-template-args-indented-from-margin

c-lineup-template-args-indented-from-margin is a byte-compiled function defined in cc-align.el.gz.

Signature

(c-lineup-template-args-indented-from-margin LANGELEM)

Documentation

Indent a template argument line c-basic-offset from the margin of the line with the containing <.

Works with: template-args-cont.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/cc-align.el.gz
(defun c-lineup-template-args-indented-from-margin (_langelem)
  "Indent a template argument line `c-basic-offset' from the margin
of the line with the containing <.

Works with: template-args-cont."
  (save-excursion
    (goto-char (c-langelem-2nd-pos c-syntactic-element))
    (back-to-indentation)
    (vector (+ (current-column) c-basic-offset))))