emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/doc-toc 2b6045b0a3 22/84: minor additions i.e. autoload


From: ELPA Syncer
Subject: [elpa] externals/doc-toc 2b6045b0a3 22/84: minor additions i.e. autoload comment and docstrings
Date: Mon, 26 Sep 2022 13:58:35 -0400 (EDT)

branch: externals/doc-toc
commit 2b6045b0a37d76e6a34f9792dec86d6e1983e182
Author: Daniel Nicolai <dalanicolai@gmail.com>
Commit: Daniel Nicolai <dalanicolai@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))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]