Function: srecode-compile-do-hard-newline-p

srecode-compile-do-hard-newline-p is a byte-compiled function defined in compile.el.gz.

Signature

(srecode-compile-do-hard-newline-p COMP)

Documentation

Examine COMP to decide if the upcoming newline should be hard.

It is hard if the previous inserter is a newline object.

Source Code

;; Defined in /usr/src/emacs/lisp/cedet/srecode/compile.el.gz
(defun srecode-compile-do-hard-newline-p (comp)
  "Examine COMP to decide if the upcoming newline should be hard.
It is hard if the previous inserter is a newline object."
  (while (and comp (stringp (car comp)))
    (setq comp (cdr comp)))
  (or (not comp)
      (progn (require 'srecode/insert)
	     (srecode-template-inserter-newline-child-p (car comp)))))