branch: externals/doc-toc commit a14dbb4c2594a0ceacbb797af752e3610f2efbfc Author: Daniel Nicolai <dalanico...@gmail.com> Commit: Daniel Nicolai <dalanico...@gmail.com>
Fix beginning-of-buffer compilation warning --- toc-mode.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toc-mode.el b/toc-mode.el index 8887f4182b..03ec48406f 100644 --- a/toc-mode.el +++ b/toc-mode.el @@ -284,7 +284,7 @@ number 2 etc." (insert "(try to select partial word)\n\n") (add-text-properties beg (point) '(face font-lock-warning-face))) (insert page-text) - (beginning-of-buffer))))) + (goto-char (point-min)))))) (defun toc-extract-with-pdf-tocgen ()