Function: prolog-mark-clause

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

Signature

(prolog-mark-clause)

Documentation

Put mark at the end of this clause and move point to the beginning.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/prolog.el.gz
(defun prolog-mark-clause ()
  "Put mark at the end of this clause and move point to the beginning."
  (interactive)
  (let ((pos (point)))
    (goto-char (prolog-clause-end))
    (forward-line 1)
    (beginning-of-line)
    (set-mark (point))
    (goto-char pos)
    (goto-char (prolog-clause-start))))