Function: dcl-end-of-command-p
dcl-end-of-command-p is a byte-compiled function defined in
dcl-mode.el.gz.
Signature
(dcl-end-of-command-p)
Documentation
Check if point is at the end of a command.
Return t if point is at the end of a command, either the end of an only line or at the end of the last continuation line. Otherwise return nil.
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/dcl-mode.el.gz
;;;-------------------------------------------------------------------------
(defun dcl-end-of-command-p ()
"Check if point is at the end of a command.
Return t if point is at the end of a command, either the end of an
only line or at the end of the last continuation line.
Otherwise return nil."
;; Must be at end-of-line on a command line or a continuation line
(let ((type (dcl-get-line-type)))
(if (and (eolp)
(or (eq type '$)
(eq type '-)))
;; Next line must not be a continuation line
(save-excursion
(forward-line)
(not (eq (dcl-get-line-type) '-))))))