[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/osm 88e7e36e43 49/77: Rename function
From: |
ELPA Syncer |
Subject: |
[elpa] externals/osm 88e7e36e43 49/77: Rename function |
Date: |
Mon, 7 Mar 2022 08:58:07 -0500 (EST) |
branch: externals/osm
commit 88e7e36e431a401fc3779a827de124d6b81ba4d4
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>
Rename function
---
osm-ol.el | 4 ++--
osm.el | 12 ++++++------
2 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/osm-ol.el b/osm-ol.el
index 9a93c2b026..96a4e4fed4 100644
--- a/osm-ol.el
+++ b/osm-ol.el
@@ -26,7 +26,7 @@
(require 'ol)
;; Only load osm on demand
-(autoload 'osm--setup "osm")
+(autoload 'osm--goto "osm")
(declare-function osm--org-link-data "osm")
(org-link-set-parameters
@@ -41,7 +41,7 @@
"\\`\\(?:\\([^:]+\\):\\)?\\([^,]+\\),\\([^,]+\\),\\([^,]+\\)\\'"
link)
(error "Invalid osm link"))
- (osm--setup
+ (osm--goto
(list (string-to-number (match-string 2 link))
(string-to-number (match-string 3 link))
(string-to-number (match-string 4 link)))
diff --git a/osm.el b/osm.el
index 724c1f19c3..624f785578 100644
--- a/osm.el
+++ b/osm.el
@@ -509,7 +509,7 @@ We need two distinct images which are not `eq' for the
display properties.")
(defun osm-home ()
"Go to home coordinates."
(interactive)
- (osm--setup (osm--home-coordinates) nil))
+ (osm--goto (osm--home-coordinates) nil))
(defun osm--queue-info ()
"Return queue info string."
@@ -611,8 +611,8 @@ We need two distinct images which are not `eq' for the
display properties.")
(osm--lat) (osm--lon) osm--zoom
(osm--server-property :name)))
-(defun osm--setup (at server)
- "Setup buffer with SERVER at coordinates AT."
+(defun osm--goto (at server)
+ "Go to AT, change SERVER."
;; Server not found
(when (and server (not (assq server osm-server-list))) (setq server nil))
(with-current-buffer
@@ -657,7 +657,7 @@ We need two distinct images which are not `eq' for the
display properties.")
(unless (and (numberp lat) (numberp lon) (numberp zoom))
(error "Invalid coordinate"))
(list lat lon zoom)))
- (osm--setup (list lat lon zoom) nil))
+ (osm--goto (list lat lon zoom) nil))
;;;###autoload
(defun osm-bookmark-jump (bm)
@@ -675,7 +675,7 @@ We need two distinct images which are not `eq' for the
display properties.")
nil t nil 'bookmark-history)
bookmark-alist)
(error "No bookmark selected")))))
- (set-buffer (osm--setup (bookmark-prop-get bm 'coordinate)
+ (set-buffer (osm--goto (bookmark-prop-get bm 'coordinate)
(bookmark-prop-get bm 'server))))
;;;###autoload
@@ -761,7 +761,7 @@ MSG is a message prefix string."
(or (osm--server-property :description) "")))))
(list (or (cdr (assoc selected servers))
(error "No server selected")))))
- (osm--setup nil server))
+ (osm--goto nil server))
(dolist (sym (list #'osm-up #'osm-down #'osm-left #'osm-right
#'osm-up-up #'osm-down-down #'osm-left-left
#'osm-right-right
- [elpa] externals/osm 03d4ceb553 57/77: Add tile memory cache, (continued)
- [elpa] externals/osm 03d4ceb553 57/77: Add tile memory cache, ELPA Syncer, 2022/03/07
- [elpa] externals/osm f6c16a4cc4 63/77: Improve keybindings, ELPA Syncer, 2022/03/07
- [elpa] externals/osm 2a0bd8c7eb 50/77: Improve header line, ELPA Syncer, 2022/03/07
- [elpa] externals/osm e546671a0e 38/77: Minor cleanup, ELPA Syncer, 2022/03/07
- [elpa] externals/osm 7657cb1b3b 71/77: Add check for image format support, ELPA Syncer, 2022/03/07
- [elpa] externals/osm e78a337477 44/77: Rename commands, ELPA Syncer, 2022/03/07
- [elpa] externals/osm 1b7f4020b3 73/77: Fix caching, ELPA Syncer, 2022/03/07
- [elpa] externals/osm d27892f63a 40/77: Add some utility functions, ELPA Syncer, 2022/03/07
- [elpa] externals/osm 3c0950a24b 31/77: Simplify bookmark handling, ELPA Syncer, 2022/03/07
- [elpa] externals/osm 11a04bb5b9 66/77: osm-server: Improve completion command, ELPA Syncer, 2022/03/07
- [elpa] externals/osm 88e7e36e43 49/77: Rename function,
ELPA Syncer <=
- [elpa] externals/osm a9d0ec74e3 07/77: Simplify placeholder, ELPA Syncer, 2022/03/07
- [elpa] externals/osm db20223911 27/77: Minor cleanup, ELPA Syncer, 2022/03/07
- [elpa] externals/osm 92fb0c72dd 62/77: Add osm-bookmark-delete, ELPA Syncer, 2022/03/07
- [elpa] externals/osm 6f14067777 26/77: add mwheel scroll functions, ELPA Syncer, 2022/03/07
- [elpa] externals/osm 9ffe9592ba 55/77: Simplify code, ELPA Syncer, 2022/03/07
- [elpa] externals/osm 28afc293f9 47/77: Improve bookmark and Org link support, ELPA Syncer, 2022/03/07
- [elpa] externals/osm 5af320c57f 10/77: Add Stamen servers, support jpeg tiles, ELPA Syncer, 2022/03/07
- [elpa] externals/osm 593b95a50c 17/77: Add more maps, ELPA Syncer, 2022/03/07
- [elpa] externals/osm 305aea000b 03/77: Use cl-loop, ELPA Syncer, 2022/03/07
- [elpa] externals/osm 5f002af18c 24/77: Fix file extraction, ELPA Syncer, 2022/03/07