branch: externals/doc-toc commit 2b6045b0a37d76e6a34f9792dec86d6e1983e182 Author: Daniel Nicolai <dalanico...@gmail.com> Commit: Daniel Nicolai <dalanico...@gmail.com>
minor additions i.e. autoload comment and docstrings --- toc-mode.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/toc-mode.el b/toc-mode.el index ca784bca8c..ab8ae220bc 100644 --- a/toc-mode.el +++ b/toc-mode.el @@ -190,6 +190,7 @@ Use with the universal argument (C-u) omits cleanup to get the unprocessed text. (unless arg (toc-cleanup startpage t)))) +;;;###autoload (defun toc-extract-outline () (interactive) (let* ((source-buffer (current-buffer)) @@ -281,6 +282,7 @@ Use with the universal argument (C-u) omits cleanup to get the unprocessed text. t)) (defun toc-increase-remaining () + "Increase pagenumber of current entry and all entries below" (interactive) (save-excursion (while (not (eobp)) @@ -291,6 +293,7 @@ Use with the universal argument (C-u) omits cleanup to get the unprocessed text. (forward-line 1)))) (defun toc-decrease-remaining () + "Decrease pagenumber of current entry and all entries below" (interactive) (save-excursion (while (not (eobp))