branch: externals/dtache commit 1bc36dcd746a1564f4f792398ac0771225168611 Author: Niklas Eklund <niklas.ekl...@posteo.net> Commit: Niklas Eklund <niklas.ekl...@posteo.net>
Fix error in dtache--db-directory-event The event was never used in the pcase. --- dtache.el | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/dtache.el b/dtache.el index 42f183271e..d1867bdfd5 100644 --- a/dtache.el +++ b/dtache.el @@ -1141,9 +1141,10 @@ session and trigger a state transition." If event is cased by an update to the `dtache' database, re-initialize `dtache--sessions'." - (pcase-let ((`(,_descriptor ,action ,file))) - (when (and (string= "dtache.db" file) - (eq 'attribute-changed action))) + (pcase-let* ((`(,_descriptor ,action ,file) event) + (database-updated (and (string= "dtache.db" file) + (eq 'attribute-changed action)))) + (when database-updated) (dtache--db-initialize))) ;;;;; UI