mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-10-14 05:23:04 +00:00
bug fix: infinite recursion when several snippets overlaps.
This commit is contained in:
parent
77eeb41e18
commit
72be6f0fc2
@ -6,6 +6,11 @@ ChangeLog
|
||||
:Contact: pluskid@gmail.com
|
||||
:Date: 2008-03-22
|
||||
|
||||
0.4.5
|
||||
==================
|
||||
|
||||
* Bug fix: l-safe-expr-p: Lisp nesting exceeds ``max-lisp-eval-depth`` error when several (more than two) snippets overlaps. Thanks sunwaybupt@newsmth for reporting this bug.
|
||||
|
||||
0.4.4 / 2008-03-24
|
||||
==================
|
||||
|
||||
|
@ -1134,10 +1134,12 @@ when the condition evaluated to non-nil."
|
||||
(keymap (overlay-get overlay 'keymap))
|
||||
(command nil))
|
||||
(overlay-put overlay 'keymap nil)
|
||||
(overlay-put overlay 'yas/snippet-reference nil)
|
||||
(setq command (key-binding yas/next-field-key))
|
||||
(when (commandp command)
|
||||
(call-interactively command))
|
||||
(overlay-put overlay 'keymap keymap))))
|
||||
(overlay-put overlay 'keymap keymap)
|
||||
(overlay-put overlay 'yas/snippet-reference snippet))))
|
||||
(when (= (point)
|
||||
(overlay-start
|
||||
(yas/field-overlay
|
||||
|
Loading…
x
Reference in New Issue
Block a user