summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Mendler <mail@daniel-mendler.de>2024-07-08 23:57:36 +0200
committerDaniel Mendler <mail@daniel-mendler.de>2024-07-08 23:57:36 +0200
commit17dfc017cdb0cf21325a9e636fd23e912aea84b3 (patch)
treeea8eefef1765882853980de08df7aaf5b5a3f82b
parent1d69916c1bdbc3dbd49dc5b510626b47cd55202b (diff)
Use static-if
-rw-r--r--osm.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/osm.el b/osm.el
index db48d53..2597163 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