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

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

[elpa] externals/leaf 0bd023a 05/13: fix testcases


From: Stefan Monnier
Subject: [elpa] externals/leaf 0bd023a 05/13: fix testcases
Date: Wed, 23 Jun 2021 21:24:16 -0400 (EDT)

branch: externals/leaf
commit 0bd023a6b4720c42cc020a127cfc6b199f95bf06
Author: Z572 <873216071@qq.com>
Commit: Z572 <873216071@qq.com>

    fix testcases
---
 leaf-tests.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/leaf-tests.el b/leaf-tests.el
index 3a8e607..3fb5534 100644
--- a/leaf-tests.el
+++ b/leaf-tests.el
@@ -2341,7 +2341,7 @@ Example:
        (leaf-init)))
 
     ((leaf-handler-leaf-path leaf)
-     (let ((file (or load-file-name buffer-file-name 
byte-compile-current-file)))
+     (let ((file (leaf-this-file)))
        (unless (boundp 'leaf--paths) (defvar leaf--paths nil))
        (when file
          (add-to-list 'leaf--paths (cons 'leaf file)))))))



reply via email to

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