[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/toc-org 9efeec690c 111/128: Remove the "backup" variable
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/toc-org 9efeec690c 111/128: Remove the "backup" variable |
Date: |
Sun, 2 Jan 2022 09:59:14 -0500 (EST) |
branch: elpa/toc-org
commit 9efeec690c268971b0aeed64bb39bd3b03756ed4
Author: Hugo Thiessard <htsr@pm.me>
Commit: Hugo Thiessard <htsr@pm.me>
Remove the "backup" variable
---
toc-org.el | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/toc-org.el b/toc-org.el
index 1d7f64a79c..a05196ebb9 100644
--- a/toc-org.el
+++ b/toc-org.el
@@ -183,15 +183,13 @@ auxiliary text."
;; strip COMMENT headlines
(goto-char (point-min))
- (let (backup-case-fold-search case-fold-search)
- (setq case-fold-search nil)
+ (let ((case-fold-search nil))
(while (re-search-forward toc-org-COMMENT-regexp nil t)
(let ((skip-depth (concat (match-string 1) "*")))
(while (progn
(beginning-of-line)
(delete-region (point) (min (1+ (line-end-position))
(point-max)))
- (string-prefix-p skip-depth (or (current-word) ""))))))
- (setq case-fold-search backup-case-fold-search))
+ (string-prefix-p skip-depth (or (current-word) "")))))))
;; strip headings with :noexport: tag
(goto-char (point-min))
- [nongnu] elpa/toc-org 0dee7197c8 026/128: fix byte-compilation check, (continued)
- [nongnu] elpa/toc-org 0dee7197c8 026/128: fix byte-compilation check, ELPA Syncer, 2022/01/02
- [nongnu] elpa/toc-org 242eecba19 034/128: add a note about previous name, ELPA Syncer, 2022/01/02
- [nongnu] elpa/toc-org 90894242a6 046/128: treat org-list-indent-offset properly, ELPA Syncer, 2022/01/02
- [nongnu] elpa/toc-org 4c0b28da59 037/128: add more tags for easier search, ELPA Syncer, 2022/01/02
- [nongnu] elpa/toc-org e38e81af3f 088/128: Merge pull request #57 from JAremko/master, ELPA Syncer, 2022/01/02
- [nongnu] elpa/toc-org cda8f73640 073/128: Merge pull request #37 from snosov1/handle-comment, ELPA Syncer, 2022/01/02
- [nongnu] elpa/toc-org ee70dd23e1 104/128: resolve missing functions warnings, ELPA Syncer, 2022/01/02
- [nongnu] elpa/toc-org d52f95fae8 105/128: Handle trailing #'s, ELPA Syncer, 2022/01/02
- [nongnu] elpa/toc-org 5ce7c24920 096/128: handle paranthesis in #+TODO line (fixes #65), ELPA Syncer, 2022/01/02
- [nongnu] elpa/toc-org b1bab4c078 072/128: handle nil that is sometimes returned by (current-word), ELPA Syncer, 2022/01/02
- [nongnu] elpa/toc-org 9efeec690c 111/128: Remove the "backup" variable,
ELPA Syncer <=
- [nongnu] elpa/toc-org ff8d49c2c7 113/128: Merge pull request #69 from htsr/comment-stripping, ELPA Syncer, 2022/01/02
- [nongnu] elpa/toc-org 95a558b362 099/128: add tests for markdown-style syntax, ELPA Syncer, 2022/01/02
- [nongnu] elpa/toc-org e33e4cc00a 084/128: Merge pull request #50 from snosov1/handle-custom-keywords, ELPA Syncer, 2022/01/02
- [nongnu] elpa/toc-org 7291a3b08d 100/128: Enable link following in markdown mode, ELPA Syncer, 2022/01/02
- [nongnu] elpa/toc-org f455bd4c88 103/128: Call batch compile before running the tests, ELPA Syncer, 2022/01/02
- [nongnu] elpa/toc-org 8321d3c76b 120/128: Revert "Respect the file-local value of org-list-indent-offset.", ELPA Syncer, 2022/01/02
- [nongnu] elpa/toc-org 6eca67f9a8 127/128: Merge pull request #83 from skangas/silence-byte-compiler, ELPA Syncer, 2022/01/02
- [nongnu] elpa/toc-org 328d34144f 124/128: Bump version to 1.1, ELPA Syncer, 2022/01/02
- [nongnu] elpa/toc-org ebff38bfa4 094/128: make toc-org a minor mode (#61), ELPA Syncer, 2022/01/02
- [nongnu] elpa/toc-org aa9aea6d69 102/128: Supress warnings, ELPA Syncer, 2022/01/02