Function: whitespace-insert-option-mark

whitespace-insert-option-mark is a byte-compiled function defined in whitespace.el.gz.

Signature

(whitespace-insert-option-mark THE-LIST THE-VALUE)

Documentation

Insert the option mark (X or ) in toggle options buffer.

Source Code

;; Defined in /usr/src/emacs/lisp/whitespace.el.gz
(defun whitespace-insert-option-mark (the-list the-value)
  "Insert the option mark (`X' or ` ') in toggle options buffer."
  (goto-char (point-min))
  (forward-line 2)
  (dolist (sym  the-list)
    (if (eq sym 'help-newline)
	(forward-line 2)
      (forward-line 1)
      (whitespace-mark-x 2 (memq sym the-value)))))