[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/leaf 39c3bac 12/18: use leaf-this-file instead of hardc
From: |
Stefan Monnier |
Subject: |
[elpa] externals/leaf 39c3bac 12/18: use leaf-this-file instead of hardcoding |
Date: |
Wed, 2 Jun 2021 18:28:03 -0400 (EDT) |
branch: externals/leaf
commit 39c3bacb68271833d56662223d21f9bd7b2867b2
Author: Naoya Yamashita <conao3@gmail.com>
Commit: Naoya Yamashita <conao3@gmail.com>
use leaf-this-file instead of hardcoding
---
leaf.el | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/leaf.el b/leaf.el
index ce62eda..4f8242f 100644
--- a/leaf.el
+++ b/leaf.el
@@ -1067,10 +1067,7 @@ FN also accept list of FN."
(defmacro leaf-handler-leaf-path (name)
"Meta handler for :leaf-path for NAME."
- `(let ((file (or leaf--load-file-name
- 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 ',name file)))))
- [elpa] externals/leaf updated (ab5cc26 -> bf870b1), Stefan Monnier, 2021/06/02
- [elpa] externals/leaf b5fc58d 02/18: Accept any keyword and default value (sexp), Stefan Monnier, 2021/06/02
- [elpa] externals/leaf 8a78547 03/18: Fix `leaf-find' in embedded leaf block., Stefan Monnier, 2021/06/02
- [elpa] externals/leaf d695f24 06/18: Merge pull request #493 from xFA25E/master, Stefan Monnier, 2021/06/02
- [elpa] externals/leaf 800fc71 04/18: leaf-key-bindlist is no longer required to be defined, Stefan Monnier, 2021/06/02
- [elpa] externals/leaf eb5aed9 01/18: Add custom type for leaf-defaults and change leaf-system-defaults to defvar, Stefan Monnier, 2021/06/02
- [elpa] externals/leaf 1263f8a 05/18: tagged v4.4.5, Stefan Monnier, 2021/06/02
- [elpa] externals/leaf 39c3bac 12/18: use leaf-this-file instead of hardcoding,
Stefan Monnier <=
- [elpa] externals/leaf c565595 13/18: tagged v4.4.7, Stefan Monnier, 2021/06/02
- [elpa] externals/leaf 4d48501 08/18: Merge remote-tracking branch 'origin/master' into refactor/typing-leaf-defaults, Stefan Monnier, 2021/06/02
- [elpa] externals/leaf eb8ce41 10/18: Merge pull request #490 from zonuexe/refactor/typing-leaf-defaults, Stefan Monnier, 2021/06/02
- [elpa] externals/leaf ad3b6a0 16/18: fix testcases, Stefan Monnier, 2021/06/02
- [elpa] externals/leaf d3a0f73 17/18: tagged v4.4.8, Stefan Monnier, 2021/06/02
- [elpa] externals/leaf 75914b5 07/18: mention leaf-available-keywords instead of leaf-system-defaults, Stefan Monnier, 2021/06/02
- [elpa] externals/leaf 9e9d06c 09/18: tagged v4.4.6, Stefan Monnier, 2021/06/02
- [elpa] externals/leaf 1274e35 11/18: Merge remote-tracking branch 'origin/master' into fix-leaf-find-in-embedded-leaf-block, Stefan Monnier, 2021/06/02
- [elpa] externals/leaf 256abf5 14/18: Merge pull request #492 from Z572/fix-leaf-find-in-embedded-leaf-block, Stefan Monnier, 2021/06/02
- [elpa] externals/leaf b4b21de 15/18: add :leaf-defer-let system keyword and move :leaf-defer `let` hack, Stefan Monnier, 2021/06/02