mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-10-14 13:33:04 +00:00
avoid recursion.
This commit is contained in:
parent
6d19b3eb12
commit
fcbd79ca21
@ -630,7 +630,8 @@ It looks key binding for TAB. If found, execute it. If not found.
|
|||||||
Run `indent-for-tab-command'."
|
Run `indent-for-tab-command'."
|
||||||
(interactive)
|
(interactive)
|
||||||
(let ((command (key-binding (kbd "TAB"))))
|
(let ((command (key-binding (kbd "TAB"))))
|
||||||
(if command
|
(if (and command
|
||||||
|
(not (eq command 'yas/expand)))
|
||||||
(call-interactively command)
|
(call-interactively command)
|
||||||
(call-interactively 'indent-for-tab-command))))
|
(call-interactively 'indent-for-tab-command))))
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user