[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/doc-toc eb8c6a0c00 56/84: Fix seq and cl compiler warni
From: |
ELPA Syncer |
Subject: |
[elpa] externals/doc-toc eb8c6a0c00 56/84: Fix seq and cl compiler warnings |
Date: |
Mon, 26 Sep 2022 13:58:38 -0400 (EDT) |
branch: externals/doc-toc
commit eb8c6a0c00e811688a8852ef25fdddfa2bafe6e5
Author: Daniel Nicolai <dalanicolai@gmail.com>
Commit: Daniel Nicolai <dalanicolai@gmail.com>
Fix seq and cl compiler warnings
---
README.org | 4 ++--
toc-mode.el | 11 ++++++++---
2 files changed, 10 insertions(+), 5 deletions(-)
diff --git a/README.org b/README.org
index 6ee13df2b4..aea75eaac6 100644
--- a/README.org
+++ b/README.org
@@ -131,8 +131,8 @@ document's folder, or you can delete the outline source
buffer and run
file that can be used with
[[http://handyoutlinerfo.sourceforge.net/][HandyOutliner]] (unfortunately the
handyoutliner
command does not take arguments, but if you customize the
[[help:toc-handyoutliner-path][toc-handyoutliner-path]]
and [[help:toc-file-browser-command][toc-file-browser-command]] variables,
then Emacs will try to open
-HandyOutliner and the file browser so that you can drag the files directly into
-HandyOutliner).
+HandyOutliner and the file browser so that you can drag the file ~contents.txt~
+directly into HandyOutliner).
diff --git a/toc-mode.el b/toc-mode.el
index d2075a210a..50d8c7409f 100644
--- a/toc-mode.el
+++ b/toc-mode.el
@@ -163,6 +163,7 @@
(require 'pdf-tools nil t)
(require 'djvu nil t)
(require 'evil nil t)
+(require 'seq)
;; List of declarations to eliminate byte-compile errors
(defvar djvu-doc-image)
@@ -515,7 +516,7 @@ Prompt for startpage and endpage and print OCR output to
new buffer."
lines
(list (list nil
(vector
- (number-to-string (cl-position spaces levels))
+ (number-to-string (seq-position levels spaces))
(mapconcat #'identity (butlast line-list) " ")
(mapconcat #'identity (last line-list) " "))))))
(forward-line)))
@@ -739,7 +740,10 @@ to `pdfoutline' shell command."
(interactive)
(start-process ""
nil
- toc-handyoutliner-path)
+ toc-handyoutliner-path))
+
+(defun toc--open-filepath-in-file-browser ()
+ (interactive)
(let ((process-connection-type nil))
(start-process ""
nil
@@ -768,7 +772,8 @@ to `pdfoutline' shell command."
(insert text))
(save-buffer)
(when (and toc-handyoutliner-path toc-file-browser-command)
- (toc--open-handy-outliner)))
+ (toc--open-handy-outliner)
+ (toc--open-filepath-in-file-browser)))
;;;; add outline to document
- [elpa] externals/doc-toc a259f4cc65 77/84: Correct docstring position, (continued)
- [elpa] externals/doc-toc a259f4cc65 77/84: Correct docstring position, ELPA Syncer, 2022/09/26
- [elpa] externals/doc-toc 0671d11654 78/84: Merge pull request #8 from syohex/docstring, ELPA Syncer, 2022/09/26
- [elpa] externals/doc-toc cf6b12ca35 79/84: Fix #10: prevent pdf-filename become nil, ELPA Syncer, 2022/09/26
- [elpa] externals/doc-toc b4bb748aa3 84/84: Fix README (remove repeated section), ELPA Syncer, 2022/09/26
- [elpa] externals/doc-toc 0c9a7a484f 09/84: Update README with link to djvulibre website, ELPA Syncer, 2022/09/26
- [elpa] externals/doc-toc 559e7bbf3d 13/84: Implement extract with tesseract ocr, ELPA Syncer, 2022/09/26
- [elpa] externals/doc-toc 97c0ce5c40 19/84: Implement from tabular jump to/scroll page for djvu, ELPA Syncer, 2022/09/26
- [elpa] externals/doc-toc 2b6045b0a3 22/84: minor additions i.e. autoload comment and docstrings, ELPA Syncer, 2022/09/26
- [elpa] externals/doc-toc dda3491299 34/84: Fix djvu parse tablist to djvused algorithm, ELPA Syncer, 2022/09/26
- [elpa] externals/doc-toc e84c00c923 45/84: Fix/remove ask for path before add TOC djvu, ELPA Syncer, 2022/09/26
- [elpa] externals/doc-toc eb8c6a0c00 56/84: Fix seq and cl compiler warnings,
ELPA Syncer <=
- [elpa] externals/doc-toc 05b6d034aa 59/84: Fix djvu/pdf hard dependency (github issue #3), ELPA Syncer, 2022/09/26
- [elpa] externals/doc-toc 8d4817a543 62/84: Fix org-noter conflict (github #4), ELPA Syncer, 2022/09/26
- [elpa] externals/doc-toc a14dbb4c25 67/84: Fix beginning-of-buffer compilation warning, ELPA Syncer, 2022/09/26
- [elpa] externals/doc-toc 102e14199c 65/84: pdf.tocgen replace original pdf, and show message on fail, ELPA Syncer, 2022/09/26
- [elpa] externals/doc-toc 4c9ce0f54d 76/84: Fix: eval-when-compile pdf-tools, ELPA Syncer, 2022/09/26
- [elpa] externals/doc-toc 2ec9515f0d 81/84: Apply patch S. Monnier, ELPA Syncer, 2022/09/26
- [elpa] externals/doc-toc ca80abf2f8 83/84: Update name to doc-toc (i.e. make doc-tools extension), ELPA Syncer, 2022/09/26
- [elpa] externals/doc-toc 3d286633a9 11/84: Update README, ELPA Syncer, 2022/09/26
- [elpa] externals/doc-toc 3acf45b0f7 18/84: Implement C-c C-c functionality also for djvu, ELPA Syncer, 2022/09/26
- [elpa] externals/doc-toc 74c68f0cda 24/84: Update README.org, ELPA Syncer, 2022/09/26