Function: calc-edit-macro-command-type

calc-edit-macro-command-type is a byte-compiled function defined in calc-prog.el.gz.

Signature

(calc-edit-macro-command-type)

Documentation

Return the type of command on the current line in a Calc macro editing buffer.

Source Code

;; Defined in /usr/src/emacs/lisp/calc/calc-prog.el.gz
(defun calc-edit-macro-command-type ()
  "Return the type of command on the current line in a Calc macro editing buffer."
  (let ((beg (save-excursion
               (if (search-forward ";;" (line-end-position) t)
                   (progn
                     (skip-chars-forward " \t")
                     (point)))))
        (end (save-excursion
               (goto-char (line-end-position))
               (skip-chars-backward " \t")
               (point))))
    (if beg
        (buffer-substring beg end)
      "")))