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

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

[elpa] externals/osm c4d65f60de 2/7: Rename option


From: ELPA Syncer
Subject: [elpa] externals/osm c4d65f60de 2/7: Rename option
Date: Mon, 14 Mar 2022 11:57:46 -0400 (EDT)

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

    Rename option
---
 osm.el | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/osm.el b/osm.el
index c47b5627ad..8c8b463556 100644
--- a/osm.el
+++ b/osm.el
@@ -126,7 +126,7 @@
   "List of tile servers."
   :type '(alist :key-type symbol :value-type plist))
 
-(defcustom osm-copyright-info t
+(defcustom osm-copyright t
   "Display the copyright information above the map."
   :type 'boolean)
 
@@ -948,7 +948,7 @@ xmlns='http://www.w3.org/2000/svg' 
xmlns:xlink='http://www.w3.org/1999/xlink'>
   (osm--update-sizes)
   (osm--update-header)
   (osm--update-buffer)
-  (osm--copyright-info)
+  (osm--display-copyright)
   (osm--process-download-queue)
   (osm--purge-tile-cache)
   (osm--purge-directory))
@@ -973,9 +973,9 @@ xmlns='http://www.w3.org/2000/svg' 
xmlns:xlink='http://www.w3.org/1999/xlink'>
                             (browse-url url)))
                         map)))
 
-(defun osm--copyright-info ()
+(defun osm--display-copyright ()
   "Display copyright info."
-  (when-let (copyright (and osm-copyright-info (osm--server-property 
:copyright)))
+  (when-let (copyright (and osm-copyright (osm--server-property :copyright)))
     (setq copyright (replace-regexp-in-string
                      "{\\(.*?\\)|\\(.*?\\)}"
                      (lambda (str)



reply via email to

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