Function: smart-tar-assist

smart-tar-assist is an interactive and byte-compiled function defined in hui-mouse.el.

Signature

(smart-tar-assist)

Documentation

Use a single assist key or mouse assist key to manipulate tar file entries.

Invoked via an assist key press when in dired-mode. It assumes that its caller has already checked that the assist key was pressed in an appropriate buffer and has moved the cursor there.

If assist key is pressed:
 (1) on an entry line, the current entry is marked for deletion;
 (2) on or after the last line in the buffer, all delete marks on all entries
     are undone.

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hui-mouse.el
(defun smart-tar-assist ()
  "Use a single assist key or mouse assist key to manipulate tar file entries.

Invoked via an assist key press when in `dired-mode'.  It assumes that its
caller has already checked that the assist key was pressed in an appropriate
buffer and has moved the cursor there.

If assist key is pressed:
 (1) on an entry line, the current entry is marked for deletion;
 (2) on or after the last line in the buffer, all delete marks on all entries
     are undone."

  (interactive)
  (cond ((last-line-p)
	 (tar-unflag (- (count-lines (point-min) (point-max))))
	 (goto-char (point-max)))
	(t (tar-flag-deleted 1))))