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

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

[elpa] externals/doc-toc 8d4817a543 62/84: Fix org-noter conflict (githu


From: ELPA Syncer
Subject: [elpa] externals/doc-toc 8d4817a543 62/84: Fix org-noter conflict (github #4)
Date: Mon, 26 Sep 2022 13:58:38 -0400 (EDT)

branch: externals/doc-toc
commit 8d4817a543c82498aedcecfef8d885d7b7579613
Author: Daniel Nicolai <dalanicolai@gmail.com>
Commit: Daniel Nicolai <dalanicolai@gmail.com>

    Fix org-noter conflict (github #4)
---
 README.org  | 3 ---
 toc-mode.el | 2 +-
 2 files changed, 1 insertion(+), 4 deletions(-)

diff --git a/README.org b/README.org
index 280544cbff..a80e0ad9a0 100644
--- a/README.org
+++ b/README.org
@@ -30,9 +30,6 @@ the package requires ~pdftotext~ (part of poppler-utils), 
~pdfoutline~ (part of
 utilities to be available. Extraction with OCR requires the ~tesseract~ command
 line utility to be available.
 
-
-
-
 * Usage
 For 'software-generated' (i.e. PDF's not created from scans) PDF-files it is
 recommend to use =toc-extract-with-pdf-tocgen=. To use this function you first
diff --git a/toc-mode.el b/toc-mode.el
index c99c38287a..a7e58d427f 100644
--- a/toc-mode.el
+++ b/toc-mode.el
@@ -529,7 +529,7 @@ Prompt for startpage and endpage and print OCR output to 
new buffer."
                (endpage (string-to-number
                          (read-string "Enter end-pagenumber for extraction: 
")))
                (ext (url-file-extension (buffer-file-name (current-buffer))))
-               (buffer (file-name-sans-extension (buffer-name)))
+               (buffer (concat (file-name-sans-extension (buffer-name)) 
".txt"))
                (args (list "stdout" "--psm" "6")))
           (when toc-ocr-languages
             (setq args (append args (list "-l" toc-ocr-languages))))



reply via email to

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