Function: tar-data-swapped-p

tar-data-swapped-p is a byte-compiled function defined in tar-mode.el.gz.

Signature

(tar-data-swapped-p)

Documentation

Return non-nil if the tar-data is in tar-data-buffer.

Source Code

;; Defined in /usr/src/emacs/lisp/tar-mode.el.gz
(defun tar-data-swapped-p ()
  "Return non-nil if the tar-data is in `tar-data-buffer'."
  (and (buffer-live-p tar-data-buffer)
       ;; Sanity check to try and make sure tar-data-swapped tracks the swap
       ;; state correctly: the raw data is expected to be always larger than
       ;; the summary.
       (progn
	 (cl-assert (or (= (buffer-size tar-data-buffer) (buffer-size))
                     (eq tar-data-swapped
                         (> (buffer-size tar-data-buffer) (buffer-size)))))
	 tar-data-swapped)))