Function: prolog-beginning-of-clause

prolog-beginning-of-clause is an interactive and byte-compiled function defined in prolog.el.gz.

Signature

(prolog-beginning-of-clause)

Documentation

Move to the beginning of current clause.

If already at the beginning of clause, move to previous clause.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/prolog.el.gz
(defun prolog-beginning-of-clause ()
  "Move to the beginning of current clause.
If already at the beginning of clause, move to previous clause."
  (interactive)
  (let ((point (point))
        (new-point (prolog-clause-start)))
    (if (and (>= new-point point)
             (> point 1))
        (progn
          (goto-char (1- point))
          (goto-char (prolog-clause-start)))
      (goto-char new-point)
      (skip-chars-forward " \t"))))