[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/doc-toc 6eafd64b9e 38/84: Add # to tell compiler about
From: |
ELPA Syncer |
Subject: |
[elpa] externals/doc-toc 6eafd64b9e 38/84: Add # to tell compiler about function reference (for MELPA) |
Date: |
Mon, 26 Sep 2022 13:58:36 -0400 (EDT) |
branch: externals/doc-toc
commit 6eafd64b9ec7973a96e6beaa27fd9a898ae55f92
Author: Daniel Nicolai <dalanicolai@gmail.com>
Commit: Daniel Nicolai <dalanicolai@gmail.com>
Add # to tell compiler about function reference (for MELPA)
---
toc-mode.el | 40 ++++++++++++++++++++--------------------
1 file changed, 20 insertions(+), 20 deletions(-)
diff --git a/toc-mode.el b/toc-mode.el
index a5de10e39b..daead07080 100644
--- a/toc-mode.el
+++ b/toc-mode.el
@@ -360,8 +360,8 @@ unprocessed text."
(defvar toc-cleanup-mode-map
(let ((map (make-sparse-keymap)))
- (define-key map "\C-c\C-c" 'toc--create-tablist-buffer)
- (define-key map "\C-c\C-j" 'toc--join-next-unnumbered-lines)
+ (define-key map "\C-c\C-c" #'toc--create-tablist-buffer)
+ (define-key map "\C-c\C-j" #'toc--join-next-unnumbered-lines)
map))
(define-derived-mode toc-cleanup-mode
@@ -395,8 +395,8 @@ unprocessed text."
(list (list nil
(vector
(number-to-string (cl-position spaces levels))
- (mapconcat 'identity (butlast line-list) " ")
- (mapconcat 'identity (last line-list) " "))))))
+ (mapconcat #'identity (butlast line-list) " ")
+ (mapconcat #'identity (last line-list) " "))))))
(forward-line)))
lines))
@@ -498,21 +498,21 @@ unprocessed text."
(defvar toc-tabular-mode-map
(let ((map (make-sparse-keymap)))
- (define-key map [right] 'toc--increase-remaining)
- (define-key map [left] 'toc--decrease-remaining)
- (define-key map [S-right] 'toc--increase)
- (define-key map [S-left] 'toc--decrease)
- (define-key map [C-right] 'toc--increase-remaining-and-follow)
- (define-key map [C-left] 'toc--decrease-remaining-and-follow)
- (define-key map [tab] 'toc--tablist-follow)
- (define-key map [S-down] 'toc--scroll-other-window-page-up)
- (define-key map [S-up] 'toc--scroll-other-window-page-down)
- (define-key map [C-down] 'toc--scroll-pdf-other-window-down)
- (define-key map [C-up] 'toc--scroll-pdf-other-window-up)
- (define-key map "\C-c\C-c" 'toc--tablist-to-toc-source)
- (define-key map "\C-c\C-c" 'toc--tablist-to-toc-source)
- (define-key map "\S-j" 'evil-scroll-page-down)
- (define-key map "\S-k" 'evil-scroll-page-up)
+ (define-key map [right] #'toc--increase-remaining)
+ (define-key map [left] #'toc--decrease-remaining)
+ (define-key map [S-right] #'toc--increase)
+ (define-key map [S-left] #'toc--decrease)
+ (define-key map [C-right] #'toc--increase-remaining-and-follow)
+ (define-key map [C-left] #'toc--decrease-remaining-and-follow)
+ (define-key map [tab] #'toc--tablist-follow)
+ (define-key map [S-down] #'toc--scroll-other-window-page-up)
+ (define-key map [S-up] #'toc--scroll-other-window-page-down)
+ (define-key map [C-down] #'toc--scroll-pdf-other-window-down)
+ (define-key map [C-up] #'toc--scroll-pdf-other-window-up)
+ (define-key map "\C-c\C-c" #'toc--tablist-to-toc-source)
+ (define-key map "\C-c\C-c" #'toc--tablist-to-toc-source)
+ (define-key map "\S-j" #'evil-scroll-page-down)
+ (define-key map "\S-k" #'evil-scroll-page-up)
map))
(define-derived-mode toc-tabular-mode
@@ -539,7 +539,7 @@ unprocessed text."
(defvar toc-mode-map
(let ((map (make-sparse-keymap)))
- (define-key map "\C-c\C-c" 'toc--add-to-doc)
+ (define-key map "\C-c\C-c" #'toc--add-to-doc)
map))
(define-derived-mode toc-mode
- [elpa] externals/doc-toc 22174d1a0f 10/84: Update README, (continued)
- [elpa] externals/doc-toc 22174d1a0f 10/84: Update README, ELPA Syncer, 2022/09/26
- [elpa] externals/doc-toc d0cbefb88b 15/84: Update (OCR) requirements with tesseract, ELPA Syncer, 2022/09/26
- [elpa] externals/doc-toc 4ecb3825b9 16/84: Update README, ELPA Syncer, 2022/09/26
- [elpa] externals/doc-toc 5314cd0b2a 17/84: Update README, ELPA Syncer, 2022/09/26
- [elpa] externals/doc-toc e6e20d2d65 20/84: Implement shift all remaining numbers and follow/preview, ELPA Syncer, 2022/09/26
- [elpa] externals/doc-toc a341a6eddc 21/84: Add autoload magic comments and file-header, ELPA Syncer, 2022/09/26
- [elpa] externals/doc-toc 4c49867186 27/84: Fix TOC-tabular mode name and add page-scroll keybinding, ELPA Syncer, 2022/09/26
- [elpa] externals/doc-toc 31611d6e9f 30/84: Update LICENSE, ELPA Syncer, 2022/09/26
- [elpa] externals/doc-toc 8f14a2928e 31/84: Prepare package for publishing on MELPA, ELPA Syncer, 2022/09/26
- [elpa] externals/doc-toc a510f530cb 33/84: Merge branch 'master' of github.com:dalanicolai/toc-mode, ELPA Syncer, 2022/09/26
- [elpa] externals/doc-toc 6eafd64b9e 38/84: Add # to tell compiler about function reference (for MELPA),
ELPA Syncer <=
- [elpa] externals/doc-toc c39306dad7 41/84: Fix docstrings with checkdoc (for MELPA), ELPA Syncer, 2022/09/26
- [elpa] externals/doc-toc e52b2d8ee3 44/84: Improve some (add-to-document) docstrings, ELPA Syncer, 2022/09/26
- [elpa] externals/doc-toc 7a436b0ca3 46/84: Remove info about limited level deepness for djvu, ELPA Syncer, 2022/09/26
- [elpa] externals/doc-toc 1602e353b0 49/84: Improve parsing djvu outline (prin1-to-string), ELPA Syncer, 2022/09/26
- [elpa] externals/doc-toc a11b2caa88 51/84: Add paypal donate link, ELPA Syncer, 2022/09/26
- [elpa] externals/doc-toc 7e50cc20d0 53/84: Implement extract-only, ELPA Syncer, 2022/09/26
- [elpa] externals/doc-toc 10b254ef2c 58/84: Fix auto pagenumber contents OCR, ELPA Syncer, 2022/09/26
- [elpa] externals/doc-toc 8c2cb1283d 60/84: Add info about pdf.tocgen alternative, ELPA Syncer, 2022/09/26
- [elpa] externals/doc-toc dc5be6442f 66/84: Add jump-by-level to toc-tabular-mode, ELPA Syncer, 2022/09/26
- [elpa] externals/doc-toc 06de33f511 70/84: Fix pdf-view-current-page macro not function, ELPA Syncer, 2022/09/26