emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/osm a7dfc15ea3 3/3: Configurable annotation


From: ELPA Syncer
Subject: [elpa] externals/osm a7dfc15ea3 3/3: Configurable annotation
Date: Mon, 14 Mar 2022 12:57:51 -0400 (EDT)

branch: externals/osm
commit a7dfc15ea338ee1c1e4301726dfdf8b87deab989
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>

    Configurable annotation
---
 osm.el | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/osm.el b/osm.el
index 030173a930..bc6eede831 100644
--- a/osm.el
+++ b/osm.el
@@ -1370,9 +1370,10 @@ xmlns='http://www.w3.org/2000/svg' 
xmlns:xlink='http://www.w3.org/1999/xlink'>
                      "Server: "
                      (lambda (str pred action)
                        (if (eq action 'metadata)
-                           '(metadata
-                             (annotation-function . osm--server-annotation)
-                             (group-function . osm--server-group))
+                           `(metadata
+                             (annotation-function
+                              . ,(and osm-copyright #'osm--server-annotation))
+                             (group-function . ,#'osm--server-group))
                          (complete-with-action action servers str pred)))
                      nil t nil nil
                      (format fmt



reply via email to

[Prev in Thread] Current Thread [Next in Thread]