Function: prolog-mark-predicate

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

Signature

(prolog-mark-predicate)

Documentation

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

Key Bindings

Source Code

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