branch: externals/doc-toc commit a259f4cc65e16f61b80295204abc53f0957a1d1d Author: Shohei YOSHIDA <syo...@gmail.com> Commit: Shohei YOSHIDA <syo...@gmail.com>
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")))