Skip to content

Instantly share code, notes, and snippets.

@the-ted
the-ted / tw-org-where.el
Last active March 9, 2018 21:20
Display where you are in your org tree
(require 'cl)
(defun org-get-header-list (&optional buffer)
"Get the headers of an org buffer as a flat list of headers and levels.
Buffer will default to the current buffer.
Thanks to http://emacs.stackexchange.com/questions/17622/how-can-i-walk-an-org-mode-tree
for this function!
"