Function: ediff-mark-for-hiding-at-pos

ediff-mark-for-hiding-at-pos is an interactive and byte-compiled function defined in ediff-mult.el.gz.

Signature

(ediff-mark-for-hiding-at-pos UNMARK)

Documentation

Mark session for hiding.

With prefix arg UNMARK, unmark instead.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/vc/ediff-mult.el.gz
(defun ediff-mark-for-hiding-at-pos (unmark)
  "Mark session for hiding.

With prefix arg UNMARK, unmark instead."
  (interactive "P")
  (let* ((pos (ediff-event-point last-command-event))
	 (meta-buf (ediff-event-buffer last-command-event))
	 ;; ediff-get-meta-info gives error if meta-buf or pos are invalid
	 (info (ediff-get-meta-info meta-buf pos))
	 (session-number (ediff-get-session-number-at-pos pos)))
    (ediff-mark-session-for-hiding info unmark)
    (ediff-next-meta-item 1)
    (save-excursion
      (ediff-update-meta-buffer meta-buf nil session-number))))