Function: allout-number-siblings
allout-number-siblings is an interactive and byte-compiled function
defined in allout.el.gz.
Signature
(allout-number-siblings &optional DENUMBER)
Documentation
Assign numbered topic prefix to this topic and its siblings.
With universal argument, denumber -- assign default bullet to this topic and its siblings.
With repeated universal argument (^U^U), solicit bullet for each
rebulleting each topic at this level.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/allout.el.gz
;;;_ > allout-number-siblings (&optional denumber)
(defun allout-number-siblings (&optional denumber)
"Assign numbered topic prefix to this topic and its siblings.
With universal argument, denumber -- assign default bullet to this
topic and its siblings.
With repeated universal argument (`^U^U'), solicit bullet for each
rebulleting each topic at this level."
(interactive "P")
(save-excursion
(allout-back-to-current-heading)
(allout-beginning-of-level)
(let ((depth allout-recent-depth)
(index (if (not denumber) 1))
(use-bullet (equal '(16) denumber))
(more t))
(while more
(allout-rebullet-heading use-bullet ;;; instead
depth ;;; depth
t ;;; number-control
index ;;; index
nil) ;;; do-successors
(if index (setq index (1+ index)))
(setq more (allout-next-sibling depth nil))))))