emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/dirvish 0b880dd0b3: fix: fix an error void-variable dv (#2


From: ELPA Syncer
Subject: [nongnu] elpa/dirvish 0b880dd0b3: fix: fix an error void-variable dv (#251)
Date: Sun, 8 Dec 2024 10:01:12 -0500 (EST)

branch: elpa/dirvish
commit 0b880dd0b3c87805bdf2357d6cc575c14f7c17bb
Author: dvzubarev <dvzubarev@yandex.ru>
Commit: GitHub <noreply@github.com>

    fix: fix an error void-variable dv (#251)
    
    In recent Emacs-30, modeline and headerline stop working with the errors:
    Error during redisplay: (eval (dirvish-path-ml dv) t) signaled 
(void-variable dv)
    Error during redisplay: (eval (dirvish-sort-ml dv) t) signaled 
(void-variable dv)
---
 dirvish.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dirvish.el b/dirvish.el
index 07c50b8498..807095d147 100644
--- a/dirvish.el
+++ b/dirvish.el
@@ -936,7 +936,7 @@ If HEADER, set the `dirvish--header-line-fmt' instead."
   (cl-labels ((expand (segments)
                 (cl-loop for s in segments collect
                          (if (stringp s) s
-                           `(:eval (,(intern (format "dirvish-%s-ml" s)) 
dv)))))
+                           `(:eval (,(intern (format "dirvish-%s-ml" s)) 
(dirvish-curr))))))
               (get-font-scale ()
                 (let* ((face (if header 'header-line 'mode-line-inactive))
                        (defualt (face-attribute 'default :height))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]