Function: eshell-subgroups

eshell-subgroups is a byte-compiled function defined in esh-util.el.gz.

Signature

(eshell-subgroups GROUPSYM)

Documentation

Return all of the subgroups of GROUPSYM.

Source Code

;; Defined in /usr/src/emacs/lisp/eshell/esh-util.el.gz
(defun eshell-subgroups (groupsym)
  "Return all of the subgroups of GROUPSYM."
  (let ((subgroups (get groupsym 'custom-group))
	(subg (list t)))
    (while subgroups
      (if (eq (cadr (car subgroups)) 'custom-group)
	  (nconc subg (list (caar subgroups))))
      (setq subgroups (cdr subgroups)))
    (cdr subg)))