[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/typescript-mode 072f8ad43f 213/222: fix eval invocation in
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/typescript-mode 072f8ad43f 213/222: fix eval invocation in typescript--re-search-backward to work with lexical scoping |
Date: |
Sun, 6 Feb 2022 16:59:33 -0500 (EST) |
branch: elpa/typescript-mode
commit 072f8ad43f31debaf926fee1c5681df77a5e1389
Author: Platon Pronko <platon7pronko@gmail.com>
Commit: Platon Pronko <platon7pronko@gmail.com>
fix eval invocation in typescript--re-search-backward to work with lexical
scoping
Under lexical scoping variable references won't be found when evaluating
the expression, resulting in "eval: Symbol’s value as variable is void:
regexp"
error.
---
typescript-mode.el | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/typescript-mode.el b/typescript-mode.el
index 8fb2ff41b0..ef4f0e55b9 100644
--- a/typescript-mode.el
+++ b/typescript-mode.el
@@ -992,11 +992,11 @@ one at the end of the line with \"let a\"."
(let ((saved-point (point))
(search-expr
(cond ((null count)
- '(typescript--re-search-backward-inner regexp bound 1))
+ `(typescript--re-search-backward-inner ,regexp ,bound 1))
((< count 0)
- '(typescript--re-search-forward-inner regexp bound (- count)))
+ `(typescript--re-search-forward-inner ,regexp ,bound (-
,count)))
((> count 0)
- '(typescript--re-search-backward-inner regexp bound count)))))
+ `(typescript--re-search-backward-inner ,regexp ,bound
,count)))))
(condition-case err
(eval search-expr)
(search-failed
- [nongnu] elpa/typescript-mode 18dc5a36a6 140/222: Fixes typo in the README file., (continued)
- [nongnu] elpa/typescript-mode 18dc5a36a6 140/222: Fixes typo in the README file., ELPA Syncer, 2022/02/06
- [nongnu] elpa/typescript-mode 36105abbb1 141/222: Add 26.1 to the versions we test on., ELPA Syncer, 2022/02/06
- [nongnu] elpa/typescript-mode 08ceb01ff3 142/222: We no longer support 24.3, fixes #100., ELPA Syncer, 2022/02/06
- [nongnu] elpa/typescript-mode f33751e98f 145/222: Fix a case of bad indentation., ELPA Syncer, 2022/02/06
- [nongnu] elpa/typescript-mode 1ec94013e7 146/222: Run emacs --version prior to running cask., ELPA Syncer, 2022/02/06
- [nongnu] elpa/typescript-mode 871c23111a 157/222: rename to typescript-mode and move to root, ELPA Syncer, 2022/02/06
- [nongnu] elpa/typescript-mode f2761fb313 178/222: Extract type-name regexp into reusable constant., ELPA Syncer, 2022/02/06
- [nongnu] elpa/typescript-mode b4109ac220 192/222: Merge pull request #139 from phst/should-not, ELPA Syncer, 2022/02/06
- [nongnu] elpa/typescript-mode 12b6aae381 196/222: Merge pull request #141 from cireu/fix-auto-mode-list-re, ELPA Syncer, 2022/02/06
- [nongnu] elpa/typescript-mode 3562c0c1f3 203/222: Add badges to README., ELPA Syncer, 2022/02/06
- [nongnu] elpa/typescript-mode 072f8ad43f 213/222: fix eval invocation in typescript--re-search-backward to work with lexical scoping,
ELPA Syncer <=
- [nongnu] elpa/typescript-mode 2a58631230 207/222: Bump version for ELPA, ELPA Syncer, 2022/02/06