[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/doc-toc 977bec00d8 74/84: Tiny bug fix in toc--tablist-
From: |
ELPA Syncer |
Subject: |
[elpa] externals/doc-toc 977bec00d8 74/84: Tiny bug fix in toc--tablist-to-handyoutliner |
Date: |
Mon, 26 Sep 2022 13:58:39 -0400 (EDT) |
branch: externals/doc-toc
commit 977bec00d8d448ad2a5e2e4c17b9c9ba3e194ec2
Author: Daniel Nicolai <dalanicolai@gmail.com>
Commit: Daniel Nicolai <dalanicolai@gmail.com>
Tiny bug fix in toc--tablist-to-handyoutliner
---
toc-mode.el | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/toc-mode.el b/toc-mode.el
index cc0ba7f38c..e647df2f37 100644
--- a/toc-mode.el
+++ b/toc-mode.el
@@ -949,7 +949,7 @@ to `pdfoutline' shell command."
(while (not (eobp))
(let* ((v (tabulated-list-get-entry))
(tabs (make-string (string-to-number (aref v 0)) ?\t)))
- (setq text (concat text (format "%s %s %s\n" tabs (aref v 1) (aref v
2))))
+ (setq text (concat text (format "%s%s %s\n" tabs (aref v 1) (aref v
2))))
(forward-line 1)))
(switch-to-buffer (find-file "contents.txt"))
(erase-buffer)
@@ -958,7 +958,8 @@ to `pdfoutline' shell command."
(setq-local doc-buffer source-buffer))
(insert text))
(save-buffer)
- (when (and toc-handyoutliner-path toc-file-browser-command)
+ (if (not (and toc-handyoutliner-path toc-file-browser-command))
+ (message "Path to handyoutliner or file browser command not defined")
(toc--open-handy-outliner)
(toc--open-filepath-in-file-browser)))
- [elpa] externals/doc-toc 2d95c466a3 48/84: Add MELPA and GPL3 badges, (continued)
- [elpa] externals/doc-toc 2d95c466a3 48/84: Add MELPA and GPL3 badges, ELPA Syncer, 2022/09/26
- [elpa] externals/doc-toc 734043bdc7 47/84: Improve documentation in toc-mode.el, ELPA Syncer, 2022/09/26
- [elpa] externals/doc-toc ae455b4863 52/84: Implement language customization for OCR, ELPA Syncer, 2022/09/26
- [elpa] externals/doc-toc 23e1fb2fde 54/84: Implement HandyOutliner option, ELPA Syncer, 2022/09/26
- [elpa] externals/doc-toc b45b78102c 55/84: Update README, add extract-only documentation, ELPA Syncer, 2022/09/26
- [elpa] externals/doc-toc b1a843fd6f 57/84: Implement roman-to-arabic and add pdf djvu keybindings, ELPA Syncer, 2022/09/26
- [elpa] externals/doc-toc 719f6a03a7 64/84: Return page text when pdfxmeta fails, ELPA Syncer, 2022/09/26
- [elpa] externals/doc-toc dd1dfd83ac 63/84: Fix docstrings and warnings for MELPA, ELPA Syncer, 2022/09/26
- [elpa] externals/doc-toc 7e2e6be947 69/84: Update/improve README, ELPA Syncer, 2022/09/26
- [elpa] externals/doc-toc 782d0cd6b5 80/84: Update README.org, ELPA Syncer, 2022/09/26
- [elpa] externals/doc-toc 977bec00d8 74/84: Tiny bug fix in toc--tablist-to-handyoutliner,
ELPA Syncer <=
- [elpa] externals/doc-toc 448a0ac00c 82/84: Small fixes before release on ELPA (fix compiler warnings), ELPA Syncer, 2022/09/26