[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/idle-highlight-mode c7af42119a 38/59: Cleanup: remove unne
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/idle-highlight-mode c7af42119a 38/59: Cleanup: remove unnecessary variable |
Date: |
Thu, 7 Jul 2022 12:00:31 -0400 (EDT) |
branch: elpa/idle-highlight-mode
commit c7af42119ae414382177f1597706e2ae79ce0d62
Author: Campbell Barton <ideasman42@gmail.com>
Commit: Campbell Barton <ideasman42@gmail.com>
Cleanup: remove unnecessary variable
---
idle-highlight-mode.el | 16 +++++++---------
1 file changed, 7 insertions(+), 9 deletions(-)
diff --git a/idle-highlight-mode.el b/idle-highlight-mode.el
index 1c8401f2ca..64b693f6b0 100755
--- a/idle-highlight-mode.el
+++ b/idle-highlight-mode.el
@@ -169,7 +169,6 @@ Argument POS return faces at this point."
(save-excursion
(let
(
- (range-list nil)
(beg-ex
(progn
(goto-char (max (point-min) (min beg (window-start))))
@@ -181,14 +180,13 @@ Argument POS return faces at this point."
(beginning-of-line)
(end-of-line)
(point))))
-
- (cond
- (idle-highlight-exclude-point
- (setq range-list (list (cons beg-ex beg) (cons end end-ex))))
- (t
- (setq range-list (cons beg-ex end-ex))))
-
- (dolist (range range-list)
+ (dolist
+ (range
+ (cond
+ (idle-highlight-exclude-point
+ (list (cons beg-ex beg) (cons end end-ex)))
+ (t
+ (list (cons beg-ex end-ex)))))
(goto-char (car range))
(while (re-search-forward idle-highlight--regexp (cdr range) t)
(let ((ov (make-overlay (match-beginning 0) (match-end 0))))
- [nongnu] elpa/idle-highlight-mode ee5381764c 51/59: Add docstrings, (continued)
- [nongnu] elpa/idle-highlight-mode ee5381764c 51/59: Add docstrings, ELPA Syncer, 2022/07/07
- [nongnu] elpa/idle-highlight-mode 9cbb9f2fde 04/59: Rename file to idle-highlight-mode.el, ELPA Syncer, 2022/07/07
- [nongnu] elpa/idle-highlight-mode 1f3620ba70 14/59: Enable lexical binding., ELPA Syncer, 2022/07/07
- [nongnu] elpa/idle-highlight-mode f71e575540 13/59: Version 1.1.3, ELPA Syncer, 2022/07/07
- [nongnu] elpa/idle-highlight-mode 9435c1f3ca 41/59: readme: correct references to idle-time, ELPA Syncer, 2022/07/07
- [nongnu] elpa/idle-highlight-mode 768745ef1c 21/59: Cleanup: add code sections, ELPA Syncer, 2022/07/07
- [nongnu] elpa/idle-highlight-mode 0916be7075 53/59: Cleanup: docstrings, ELPA Syncer, 2022/07/07
- [nongnu] elpa/idle-highlight-mode 5881f796ad 57/59: Minor tweaks to code-comments, ELPA Syncer, 2022/07/07
- [nongnu] elpa/idle-highlight-mode e6239e06fd 22/59: Add license file., ELPA Syncer, 2022/07/07
- [nongnu] elpa/idle-highlight-mode ac31f75fd0 28/59: Remove local variable when the mode is disabled, ELPA Syncer, 2022/07/07
- [nongnu] elpa/idle-highlight-mode c7af42119a 38/59: Cleanup: remove unnecessary variable,
ELPA Syncer <=
- [nongnu] elpa/idle-highlight-mode 5418252a11 59/59: Change URL to codeberg, ELPA Syncer, 2022/07/07
- [nongnu] elpa/idle-highlight-mode 53b4e3c855 45/59: Add option idle-highlight-exceptions-syntax, ELPA Syncer, 2022/07/07
- [nongnu] elpa/idle-highlight-mode 459720cd2e 29/59: Add `global-idle-highlight-mode` (globalized minor mode), ELPA Syncer, 2022/07/07
- [nongnu] elpa/idle-highlight-mode defcfe2756 54/59: Fix #1 face exceptions interact badly with hl-line-mode, ELPA Syncer, 2022/07/07
- [nongnu] elpa/idle-highlight-mode 1f40f80921 30/59: Remove "end" from idle-highlight-exceptions, ELPA Syncer, 2022/07/07
- [nongnu] elpa/idle-highlight-mode 305e9d4aa0 26/59: Cleanup: remove intermediate symbol type variable, ELPA Syncer, 2022/07/07
- [nongnu] elpa/idle-highlight-mode eaac86a1a2 49/59: Add idle-highlight-visible-buffers to apply to all buffers, ELPA Syncer, 2022/07/07
- [nongnu] elpa/idle-highlight-mode 7f81263388 11/59: Add configurations for excepted words and what idle time to use., ELPA Syncer, 2022/07/07
- [nongnu] elpa/idle-highlight-mode 7c43cc3d7a 09/59: [Refactor] Lose some weight., ELPA Syncer, 2022/07/07
- [nongnu] elpa/idle-highlight-mode 3d785f0f1d 44/59: Support *-exceptions & *-exceptions-face to be callback functions, ELPA Syncer, 2022/07/07