branch: elpa/dirvish
commit 7ebe41e6f515c628df2658287a92f64366344410
Author: Alex Lu <hellosimon1...@hotmail.com>
Commit: Alex Lu <hellosimon1...@hotmail.com>

    ci: compiler warning & errors (boolean in &context)
---
 dirvish.el               | 1 +
 extensions/dirvish-vc.el | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/dirvish.el b/dirvish.el
index ae9874b2a0..700e70a0e0 100644
--- a/dirvish.el
+++ b/dirvish.el
@@ -1251,6 +1251,7 @@ It is called when neither `:vc-backend' nor `:remote' is 
included in
 DIRVISH-PROPs, i.e. DIR is in localhost and is not being
 version-controlled.  Run `dirvish-setup-hook' after data parsing unless
 INHIBIT-SETUP is non-nil."
+  (ignore dir buffer)
   (unless (derived-mode-p 'wdired-mode) (dirvish-update-body-h))
   (unless inhibit-setup (run-hooks 'dirvish-setup-hook)))
 
diff --git a/extensions/dirvish-vc.el b/extensions/dirvish-vc.el
index a192e25c0d..ea9781d2a1 100644
--- a/extensions/dirvish-vc.el
+++ b/extensions/dirvish-vc.el
@@ -102,7 +102,7 @@ detail explanation of these states."
 (cl-defmethod dirvish-data-for-dir
   (dir buffer inhibit-setup
        &context ((dirvish-prop :vc-backend) symbol)
-       &context ((dirvish-prop :remote) boolean))
+       &context ((dirvish-prop :remote) symbol))
   "Fetch data for DIR in BUFFER.
 It is called when `:vc-backend' is included in DIRVISH-PROPs while
 `:remote' is not, i.e. a local version-controlled directory.  Run

Reply via email to