[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] scratch/hyperbole 2a58ece547 01/15: * hload-path.el (hyperb:dir):
From: |
Stefan Monnier |
Subject: |
[elpa] scratch/hyperbole 2a58ece547 01/15: * hload-path.el (hyperb:dir): Use `macroexp-file-name` |
Date: |
Tue, 2 May 2023 00:26:05 -0400 (EDT) |
branch: scratch/hyperbole
commit 2a58ece547f7868d3010c409ca0b48aa35af995b
Author: Stefan Monnier <monnier@iro.umontreal.ca>
Commit: Stefan Monnier <monnier@iro.umontreal.ca>
* hload-path.el (hyperb:dir): Use `macroexp-file-name`
---
hload-path.el | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/hload-path.el b/hload-path.el
index 2b038ca6f4..1b418e79f5 100644
--- a/hload-path.el
+++ b/hload-path.el
@@ -42,7 +42,9 @@ Use `hyperb:wsl-os-p' to test if running under WSL.")
;;; ************************************************************************
(defvar hyperb:dir (or (file-name-directory
- (or (and (stringp load-file-name) load-file-name)
+ (or (if (fboundp 'macroexp-file-name) ;Emacsā„28
+ (macroexp-file-name)
+ (and (stringp load-file-name) load-file-name))
(locate-file "hmouse-tag.el" load-path)
(hyperb:path-being-loaded)
""))
- [elpa] branch scratch/hyperbole created (now 0abc388edb), Stefan Monnier, 2023/05/02
- [elpa] scratch/hyperbole bfe7ef167d 02/15: * hversion.el (hyperb:path-being-loaded): Delete function, Stefan Monnier, 2023/05/02
- [elpa] scratch/hyperbole 3eef78bc79 04/15: (kotl-mode:pre-self-insert-command): Use buffer-locally at top-level, Stefan Monnier, 2023/05/02
- [elpa] scratch/hyperbole 2803a985a0 07/15: (kview:char-visible-p): Delete function, Stefan Monnier, 2023/05/02
- [elpa] scratch/hyperbole ba352bce93 14/15: Fix a few minor miscompilations and warnings, Stefan Monnier, 2023/05/02
- [elpa] scratch/hyperbole fdd704bf20 13/15: (man-show): Fix miscompilation, Stefan Monnier, 2023/05/02
- [elpa] scratch/hyperbole 538590efcc 06/15: Fix compilation of test file, Stefan Monnier, 2023/05/02
- [elpa] scratch/hyperbole 25e0fed3bb 12/15: * hui-select.el: Fix a few warnings and improve some docstrings, Stefan Monnier, 2023/05/02
- [elpa] scratch/hyperbole 02bf28e5cd 03/15: Try and avoid using `hyperb:stack-frame`, Stefan Monnier, 2023/05/02
- [elpa] scratch/hyperbole 2a58ece547 01/15: * hload-path.el (hyperb:dir): Use `macroexp-file-name`,
Stefan Monnier <=
- [elpa] scratch/hyperbole 31e1c06f46 05/15: Get rid of `hyperb:stack-frame`, Stefan Monnier, 2023/05/02
- [elpa] scratch/hyperbole 73f076d5ad 08/15: * hact.el: Fix broken lexical-binding cookie, Stefan Monnier, 2023/05/02
- [elpa] scratch/hyperbole 8166bb40bf 09/15: * hyperbole.el: Preload `kotl-autoloads`, Stefan Monnier, 2023/05/02
- [elpa] scratch/hyperbole c10536751a 10/15: hyperbole-autoloads.el: Remove needless definitions, Stefan Monnier, 2023/05/02
- [elpa] scratch/hyperbole e6fb782621 11/15: * hycontrol.el (hycontrol-windows-mode-map): Don't autoload, Stefan Monnier, 2023/05/02
- [elpa] scratch/hyperbole 0abc388edb 15/15: * hyrolo.el: A few cosmetic tweaks, Stefan Monnier, 2023/05/02