[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master b6d924c 31/60: * yasnippet.el (yas--scan-sexps): Use ignor
From: |
João Távora |
Subject: |
[elpa] master b6d924c 31/60: * yasnippet.el (yas--scan-sexps): Use ignore-errors. |
Date: |
Thu, 21 Jan 2016 22:35:59 +0000 |
branch: master
commit b6d924c83dad13b54d16c6546348c29756f592b7
Author: Noam Postavsky <address@hidden>
Commit: Noam Postavsky <address@hidden>
* yasnippet.el (yas--scan-sexps): Use ignore-errors.
---
yasnippet.el | 8 +++-----
1 files changed, 3 insertions(+), 5 deletions(-)
diff --git a/yasnippet.el b/yasnippet.el
index a119011..706c86a 100644
--- a/yasnippet.el
+++ b/yasnippet.el
@@ -4014,11 +4014,9 @@ with their evaluated value into
`yas--backquote-markers-and-strings'."
(set-marker marker nil)))))
(defun yas--scan-sexps (from count)
- (condition-case _
- (with-syntax-table (standard-syntax-table)
- (scan-sexps from count))
- (error
- nil)))
+ (ignore-errors
+ (with-syntax-table (standard-syntax-table)
+ (scan-sexps from count))))
(defun yas--make-marker (pos)
"Create a marker at POS with nil `marker-insertion-type'."
- [elpa] master cc1c758 18/60: Reorganize snippet construction from list code, (continued)
- [elpa] master cc1c758 18/60: Reorganize snippet construction from list code, João Távora, 2016/01/21
- [elpa] master 01139a2 23/60: * yasnippet.el (yas--define-snippets-2): Use file-name-NONdirectory., João Távora, 2016/01/21
- [elpa] master 8df6a6e 25/60: Fix invalid yas-key-syntaxes element warning, João Távora, 2016/01/21
- [elpa] master 7703a55 24/60: * doc/snippet-organization.org (.yas-skip): Add info., João Távora, 2016/01/21
- [elpa] master 041821a 22/60: * yasnippet-tests.el (string-suffix-p): Define for older Emacsen., João Távora, 2016/01/21
- [elpa] master fb6ec67 29/60: Fix #619; find parents for extra-modes too, João Távora, 2016/01/21
- [elpa] master 710ea4d 26/60: Update snippets module, João Távora, 2016/01/21
- [elpa] master 215ad9b 19/60: Fix #597; use SAVE-FILE to visit compiled snippets, João Távora, 2016/01/21
- [elpa] master e3f03ca 21/60: Test visiting compiled snippets, João Távora, 2016/01/21
- [elpa] master e56aa6f 28/60: Build a single `explored' list., João Távora, 2016/01/21
- [elpa] master b6d924c 31/60: * yasnippet.el (yas--scan-sexps): Use ignore-errors.,
João Távora <=
- [elpa] master 00b84ce 27/60: Add (failing) yas--modes-to-activate test, João Távora, 2016/01/21
- [elpa] master 72c6c4c 32/60: Fix #618; save match data in yas--scan-sexps, João Távora, 2016/01/21
- [elpa] master ac3fe83 30/60: Merge pull request #621 from npostavs/dfs-extra-modes2, João Távora, 2016/01/21
- [elpa] master b8687bb 35/60: Avoid double snippet loading messages, João Távora, 2016/01/21
- [elpa] master 35642ac 33/60: Simplify string matching., João Távora, 2016/01/21
- [elpa] master b055f13 34/60: Fix #617; ensure point is visible before x prompt, João Távora, 2016/01/21
- [elpa] master f121645 38/60: Fix #607; avoid Emacs bug #21824, João Távora, 2016/01/21
- [elpa] master 1cf723a 41/60: Ignore trailing spaces in snippet definitions, João Távora, 2016/01/21
- [elpa] master 2100b89 42/60: Closes #632: Use `user-emacs-directory' instead of hardcoded "~/emacs.d", João Távora, 2016/01/21
- [elpa] master beb02e5 39/60: * CONTRIBUTING.md: Add note about changelog only messages., João Távora, 2016/01/21