Merge pull request #168 from vanicat/t/clean-no-fail
Don't fail cleaning after reconcile when some buffer have been killed
This commit is contained in:
commit
1366e04f11
1 changed files with 1 additions and 1 deletions
|
|
@ -257,7 +257,7 @@ and exit reconcile mode"
|
|||
"Cleanup all hooks established by reconcile mode."
|
||||
(interactive)
|
||||
(let ((buf ledger-buf))
|
||||
(if buf
|
||||
(if (buffer-live-p buf)
|
||||
(with-current-buffer buf
|
||||
(remove-hook 'after-save-hook 'ledger-reconcile-refresh-after-save t)
|
||||
(if ledger-fold-on-reconcile
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue