[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)
- [elpa] externals/osm updated (fbd31cfe63 -> 13c78167d3), ELPA Syncer, 2022/03/14
- [elpa] externals/osm 2a43909cef 1/7: Display copyright above map, ELPA Syncer, 2022/03/14
- [elpa] externals/osm c4d65f60de 2/7: Rename option,
ELPA Syncer <=
- [elpa] externals/osm c242a4fc40 3/7: README: Update configuration section, ELPA Syncer, 2022/03/14
- [elpa] externals/osm aafd659c3a 5/7: README: Fix links, ELPA Syncer, 2022/03/14
- [elpa] externals/osm 87b5fdb8eb 4/7: Recreate overlay, ELPA Syncer, 2022/03/14
- [elpa] externals/osm 162417d1cc 6/7: Update copyright links, ELPA Syncer, 2022/03/14
- [elpa] externals/osm 13c78167d3 7/7: README: Remove empty line, ELPA Syncer, 2022/03/14