branch: externals/doc-toc
commit 0671d11654db7f7f33d023006d0d2f3d60e85147
Merge: 4c9ce0f54d a259f4cc65
Author: Daniel Nicolai <dalanico...@gmail.com>
Commit: GitHub <nore...@github.com>

    Merge pull request #8 from syohex/docstring
    
    Correct docstring position
---
 toc-mode.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/toc-mode.el b/toc-mode.el
index 6e05b88165..e8b43e61ac 100644
--- a/toc-mode.el
+++ b/toc-mode.el
@@ -359,9 +359,9 @@ rename this new file."
     (forward-line 1)))
 
 (defun toc--cleanup-dots-ocr ()
-  (interactive)
   "Remove dots between heading its title and page number.
 Like `toc--cleanup-dots' but more suited for use after OCR"
+  (interactive)
   (goto-char (point-min))
   (while (re-search-forward "\\([0-9\\. \\-]*\\)\\( [0-9]* *\\)$" nil t)
     (replace-match " \\2")))

Reply via email to