[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master 2680df7 34/40: Fixed bug when loccur called with empty arg
From: |
Alexey Veretennikov |
Subject: |
[elpa] master 2680df7 34/40: Fixed bug when loccur called with empty argument. |
Date: |
Fri, 29 Jan 2016 23:29:50 +0000 |
branch: master
commit 2680df7e01ce119d0d36185c769048ff6b0b9ee5
Author: Alexey Veretennikov <address@hidden>
Commit: Alexey Veretennikov <address@hidden>
Fixed bug when loccur called with empty argument.
---
loccur.el | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/loccur.el b/loccur.el
index eaed577..a59d406 100644
--- a/loccur.el
+++ b/loccur.el
@@ -162,9 +162,10 @@ containing the regular expression REGEX. A second call of
the function
unhides lines again"
(interactive
(if loccur-mode
- nil
+ (list nil)
(list (read-string "Loccur: " (loccur-prompt) 'loccur-history))))
- (if (or (not regex) loccur-mode)
+ (if (or loccur-mode
+ (= (length regex) 0))
(progn
;; remove current search and turn off loccur mode
;; to allow to call `loccur' multiple times
- [elpa] master 7d19c16 22/40: Preparation to move to GNU ELPA., (continued)
- [elpa] master 7d19c16 22/40: Preparation to move to GNU ELPA., Alexey Veretennikov, 2016/01/29
- [elpa] master 8ffd028 23/40: Preparation to move to GNU ELPA., Alexey Veretennikov, 2016/01/29
- [elpa] master 43cbc15 21/40: Fixed checkdoc issues, Alexey Veretennikov, 2016/01/29
- [elpa] master b6655e3 24/40: Preparation to move to GNU ELPA., Alexey Veretennikov, 2016/01/29
- [elpa] master 900eb51 26/40: Preparation to move to GNU ELPA., Alexey Veretennikov, 2016/01/29
- [elpa] master f95c8d6 28/40: Preparation to move to GNU ELPA., Alexey Veretennikov, 2016/01/29
- [elpa] master 359fae1 25/40: Preparation to move to GNU ELPA., Alexey Veretennikov, 2016/01/29
- [elpa] master 194dd68 30/40: Reimplemented loccur-no-highlight and fixed checkdoc, Alexey Veretennikov, 2016/01/29
- [elpa] master 66a9810 32/40: Merge pull request #3 from syohex/group, Alexey Veretennikov, 2016/01/29
- [elpa] master e5d1061 31/40: Define group for customize and fixing byte-compile warnings, Alexey Veretennikov, 2016/01/29
- [elpa] master 2680df7 34/40: Fixed bug when loccur called with empty argument.,
Alexey Veretennikov <=
- [elpa] master 59b8dd1 29/40: Implemented removed features and added face loccur-face, Alexey Veretennikov, 2016/01/29
- [elpa] master 2cacc68 33/40: Added types to custom, Alexey Veretennikov, 2016/01/29
- [elpa] master 61dcaaf 37/40: Removed redundand code, Alexey Veretennikov, 2016/01/29
- [elpa] master 03789fa 35/40: Updated README, Alexey Veretennikov, 2016/01/29
- [elpa] master d08fdac 36/40: Updated README and rearranged functions., Alexey Veretennikov, 2016/01/29
- [elpa] master aae3563 27/40: Preparation to move to GNU ELPA., Alexey Veretennikov, 2016/01/29
- [elpa] master fb1fbc0 39/40: Fixed compilation warnings., Alexey Veretennikov, 2016/01/29
- [elpa] master a90bd54 38/40: Preparation to submission to GNU ELPA, Alexey Veretennikov, 2016/01/29
- [elpa] master 8f6fe36 40/40: Add 'packages/loccur/' from commit 'fb1fbc0ff5da7a8b117542ab8083d29cd79e12b2', Alexey Veretennikov, 2016/01/29