Function: allout-recent-bullet

allout-recent-bullet is a macro defined in allout.el.gz.

Signature

(allout-recent-bullet)

Documentation

Like allout-recent-prefix, but return bullet of last encountered prefix.

All outline functions which directly do string matches to assess headings set the variables allout-recent-prefix-beginning and allout-recent-prefix-end if successful. This function uses those settings to return the current depth of the most recently matched topic.

Source Code

;; Defined in /usr/src/emacs/lisp/allout.el.gz
;;;_  > allout-recent-bullet ()
(defmacro allout-recent-bullet ()
  "Like `allout-recent-prefix', but return bullet of last encountered prefix.

All outline functions which directly do string matches to assess
headings set the variables `allout-recent-prefix-beginning' and
`allout-recent-prefix-end' if successful.  This function uses those settings
to return the current depth of the most recently matched topic."
  '(buffer-substring-no-properties (1- allout-recent-prefix-end)
                                   allout-recent-prefix-end))