mirror of
https://github.com/atom/atom.git
synced 2026-01-24 14:28:14 -05:00
When `UndoManager.transact` is called with no function, you later need to `abort` or `commit` the transaction manually. This allows transactions to last longer than the dynamic scope of the single function passed to `transact`.