Function: srecode-template-inserter-newline-p
srecode-template-inserter-newline-p is a byte-compiled function
defined in insert.el.gz.
Signature
(srecode-template-inserter-newline-p OBJ)
Documentation
Return non-nil if OBJ is an object of type srecode-template-inserter-newline(var)/srecode-template-inserter-newline(fun).
Source Code
;; Defined in /usr/src/emacs/lisp/cedet/srecode/insert.el.gz
;;; INSERTERS
;;
;; Specific srecode inserters.
;; The base class is from srecode-compile.
;;
;; Each inserter handles various macro codes from the template.
;; The `code' slot specifies a character used to identify which
;; inserter is to be created.
;;
(defclass srecode-template-inserter-newline (srecode-template-inserter)
((key :initform "\n"
:allocation :class
:documentation
"The character code used to identify inserters of this style.")
(hard :initform nil
:initarg :hard
:documentation
"Is this a hard newline (always inserted) or optional?
Optional newlines don't insert themselves if they are on a blank line
by themselves.")
)
"Insert a newline, and possibly do indenting.
Specify the :indent argument to enable automatic indentation when newlines
occur in your template.")