[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master 389cebc 06/34: Looks back instead of re-search-backward
From: |
Vitalie Spinu |
Subject: |
[elpa] master 389cebc 06/34: Looks back instead of re-search-backward |
Date: |
Tue, 7 May 2019 16:05:25 -0400 (EDT) |
branch: master
commit 389cebc263eff25459d7c0ffb64a59325036d30e
Author: Vitalie Spinu <address@hidden>
Commit: Vitalie Spinu <address@hidden>
Looks back instead of re-search-backward
---
company-math.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/company-math.el b/company-math.el
index ea551a6..b4e4c39 100644
--- a/company-math.el
+++ b/company-math.el
@@ -99,7 +99,7 @@ corresponding unicode symbol."
(memq face allow-faces)))))
(when insertp
(save-excursion
- (when (re-search-backward company-math-prefix-regexp (point-at-bol)
'no-error)
+ (when (looking-back company-math-prefix-regexp (point-at-bol))
(match-string 1))))))
(defun company-math--substitute-unicode (symbol)
- [elpa] master updated (86df5e9 -> 26bf67b), Vitalie Spinu, 2019/05/07
- [elpa] master b83eb6d 04/34: Readme, Vitalie Spinu, 2019/05/07
- [elpa] master 389cebc 06/34: Looks back instead of re-search-backward,
Vitalie Spinu <=
- [elpa] master 9c5fe4c 05/34: Readme, Vitalie Spinu, 2019/05/07
- [elpa] master c970a21 03/34: Adjust to `math-symbol-lists` name change, Vitalie Spinu, 2019/05/07
- [elpa] master 9a960df 02/34: Readme, Vitalie Spinu, 2019/05/07
- [elpa] master 7999062 01/34: Add initial stuff, Vitalie Spinu, 2019/05/07
- [elpa] master f5cedcf 12/34: Use generic `tex-mode-hook` in readme, Vitalie Spinu, 2019/05/07
- [elpa] master 8190924 07/34: [#1] Fix typo in readme, Vitalie Spinu, 2019/05/07
- [elpa] master e82c91d 10/34: Bump version, Vitalie Spinu, 2019/05/07
- [elpa] master 8e64cae 17/34: Untabify and add .dir-locals, Vitalie Spinu, 2019/05/07
- [elpa] master 55f0a03 08/34: require cl-lib, Vitalie Spinu, 2019/05/07
- [elpa] master 9407824 21/34: Company doesn't like nils, remove those, Vitalie Spinu, 2019/05/07