mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-10-13 13:13:03 +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'."
|
||||
(interactive)
|
||||
(let ((command (key-binding (kbd "TAB"))))
|
||||
(if command
|
||||
(if (and command
|
||||
(not (eq command 'yas/expand)))
|
||||
(call-interactively command)
|
||||
(call-interactively 'indent-for-tab-command))))
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user