[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/osm 17dfc017cd 2/2: Use static-if
From: |
ELPA Syncer |
Subject: |
[elpa] externals/osm 17dfc017cd 2/2: Use static-if |
Date: |
Mon, 8 Jul 2024 18:59:39 -0400 (EDT) |
branch: externals/osm
commit 17dfc017cdb0cf21325a9e636fd23e912aea84b3
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>
Use static-if
---
osm.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/osm.el b/osm.el
index db48d5311b..259716354b 100644
--- a/osm.el
+++ b/osm.el
@@ -1035,7 +1035,7 @@ c53 0 96 43 96 96S309 256 256 256z'/>
(concat "<svg width='256' height='256' version='1.1'
xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'>
<image xlink:href='"
- (if (eval-when-compile (> emacs-major-version 27))
+ (static-if (> emacs-major-version 27)
(file-name-nondirectory file)
;; On Emacs 27, :base-uri and embedding by file
path
;; is not supported. Use the less efficient base64