[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master a1e135a 12/40: Added loccur-no-highlight function.
From: |
Alexey Veretennikov |
Subject: |
[elpa] master a1e135a 12/40: Added loccur-no-highlight function. |
Date: |
Fri, 29 Jan 2016 23:29:33 +0000 |
branch: master
commit a1e135af6ffd1018ba86e2dd2f3dbc630674a63e
Author: Leo Perrin <address@hidden>
Commit: Alexey Veretennikov <address@hidden>
Added loccur-no-highlight function.
---
loccur.el | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/loccur.el b/loccur.el
index 1dc93d8..e374f6e 100644
--- a/loccur.el
+++ b/loccur.el
@@ -274,6 +274,14 @@ containing match"
(forward-line 1))
(setq lines (nreverse lines)))))
+(defun loccur-no-highlight(regex)
+ "Displays only the lines matching a given regex with no
+highlithing of any part of the lines."
+ (let (old-highlighting)
+ (setq old-highlighting loccur-highlight-matching-regexp)
+ (setq loccur-highlight-matching-regexp nil)
+ (loccur regex)
+ (setq loccur-highlight-matching-regexp old-highlighting)))
(provide 'loccur)
- [elpa] master updated (ada08b0 -> 8f6fe36), Alexey Veretennikov, 2016/01/29
- [elpa] master b84471a 01/40: Initial revision, v1.0, Alexey Veretennikov, 2016/01/29
- [elpa] master 915846a 03/40: Removed implemented TODO note from comments, Alexey Veretennikov, 2016/01/29
- [elpa] master 1a1fb1a 02/40: + Added highlighting of the matched strings, Alexey Veretennikov, 2016/01/29
- [elpa] master d6f5c06 04/40: Applied patch by Nathaniel Flath:, Alexey Veretennikov, 2016/01/29
- [elpa] master f73cf0e 05/40: Added README file, Alexey Veretennikov, 2016/01/29
- [elpa] master 8ee09a7 06/40: Updated markdown syntax, Alexey Veretennikov, 2016/01/29
- [elpa] master 6e0c960 08/40: Changed URL, Alexey Veretennikov, 2016/01/29
- [elpa] master aa1e119 07/40: Removed cl dependency, Alexey Veretennikov, 2016/01/29
- [elpa] master 5859be9 09/40: Recenter on exit from loccur-mode, Alexey Veretennikov, 2016/01/29
- [elpa] master a1e135a 12/40: Added loccur-no-highlight function.,
Alexey Veretennikov <=
- [elpa] master 440c96e 10/40: Added possibility of desactivating regex highlighting., Alexey Veretennikov, 2016/01/29
- [elpa] master 2bc08c6 14/40: Updated change log in the loccur.el file., Alexey Veretennikov, 2016/01/29
- [elpa] master 9b5d16c 13/40: Added detailed info on the README file., Alexey Veretennikov, 2016/01/29
- [elpa] master e9d4714 15/40: Fixed displaying problems on github caused by the README file., Alexey Veretennikov, 2016/01/29
- [elpa] master 409b322 11/40: Rewrote the minor-mode using the define-minor-mode macro and added RET, Alexey Veretennikov, 2016/01/29
- [elpa] master d279b6a 16/40: Added internal link to the "quick navigation" in the README file., Alexey Veretennikov, 2016/01/29
- [elpa] master b1b1d91 18/40: Updated version, Alexey Veretennikov, 2016/01/29
- [elpa] master 8aef9f0 19/40: Added customizable option to jump to the beginnig of the line in loccur mode: loccur-jump-beginning-of-line, Alexey Veretennikov, 2016/01/29
- [elpa] master ab4804a 20/40: Removed some cl dependencies; version changed to 1.2.1, Alexey Veretennikov, 2016/01/29
- [elpa] master cb7f8ac 17/40: Merge pull request #1 from picarresursix/master, Alexey Veretennikov, 2016/01/29