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

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

[elpa] externals/doc-toc a14dbb4c25 67/84: Fix beginning-of-buffer compi


From: ELPA Syncer
Subject: [elpa] externals/doc-toc a14dbb4c25 67/84: Fix beginning-of-buffer compilation warning
Date: Mon, 26 Sep 2022 13:58:39 -0400 (EDT)

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



reply via email to

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