[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] scratch/hyperbole f8f407a69f 01/12: * hload-path.el (hyperb:dir):
From: |
Stefan Monnier |
Subject: |
[elpa] scratch/hyperbole f8f407a69f 01/12: * hload-path.el (hyperb:dir): Use `macroexp-file-name` |
Date: |
Tue, 27 Jun 2023 17:38:39 -0400 (EDT) |
branch: scratch/hyperbole
commit f8f407a69f8a1424bf695a827e9310040106d21a
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 34ad0f8115..b9b0a8b820 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)
""))
(error
- [elpa] scratch/hyperbole 6865cd9499 03/12: Try and avoid using `hyperb:stack-frame`, (continued)
- [elpa] scratch/hyperbole 6865cd9499 03/12: Try and avoid using `hyperb:stack-frame`, Stefan Monnier, 2023/06/27
- [elpa] scratch/hyperbole 4917563d26 05/12: (kview:char-invisible-p): Stop using function, Stefan Monnier, 2023/06/27
- [elpa] scratch/hyperbole f00a0feb2e 07/12: hyperbole-autoloads.el: Remove needless definitions, Stefan Monnier, 2023/06/27
- [elpa] scratch/hyperbole 15c6dd1d49 02/12: * hversion.el (hyperb:path-being-loaded): Delete function, Stefan Monnier, 2023/06/27
- [elpa] scratch/hyperbole c40109f9b6 10/12: * hbut.el (defib): Remove redundant indent property, Stefan Monnier, 2023/06/27
- [elpa] scratch/hyperbole 580e459502 04/12: Get rid of `hyperb:stack-frame`, Stefan Monnier, 2023/06/27
- [elpa] scratch/hyperbole 557cf93559 06/12: * hyperbole.el: Preload `kotl-autoloads`, Stefan Monnier, 2023/06/27
- [elpa] scratch/hyperbole 202a3f9404 08/12: * hui-select.el: Fix a few warnings and improve some docstrings, Stefan Monnier, 2023/06/27
- [elpa] scratch/hyperbole fa47424e75 09/12: hactypes.el (rfc-toc): Remove redundant `buffer-read-only` let-binding, Stefan Monnier, 2023/06/27
- [elpa] scratch/hyperbole 16e0be430c 11/12: * hyrolo.el: A few cosmetic tweaks, Stefan Monnier, 2023/06/27
- [elpa] scratch/hyperbole f8f407a69f 01/12: * hload-path.el (hyperb:dir): Use `macroexp-file-name`,
Stefan Monnier <=
- [elpa] scratch/hyperbole a823391b89 12/12: * hversion.el (hyperb:automount-prefixes): Remove unused var., Stefan Monnier, 2023/06/27