Function: archive-chgrp-entry

archive-chgrp-entry is an interactive and byte-compiled function defined in arc-mode.el.gz.

Signature

(archive-chgrp-entry NEW-GID)

Documentation

Change the group of all marked or this member.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/arc-mode.el.gz
(defun archive-chgrp-entry (new-gid)
  "Change the group of all marked or this member."
  (interactive "nNew gid: " archive-mode)
  (if archive-read-only (error "Archive is read-only"))
  (let ((func (archive-name "chgrp-entry")))
    (if (fboundp func)
	(progn
	  (funcall func new-gid (archive-get-marked ?* t))
	  (archive-resummarize))
      (error "Setting group is not supported for this archive type"))))