[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/osm e4f8775fec 2/2: Add osm-center to menu
From: |
ELPA Syncer |
Subject: |
[elpa] externals/osm e4f8775fec 2/2: Add osm-center to menu |
Date: |
Sun, 20 Mar 2022 14:57:37 -0400 (EDT) |
branch: externals/osm
commit e4f8775fec99d109ca330daaadc0696323fa1b7f
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>
Add osm-center to menu
---
osm.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/osm.el b/osm.el
index 1cdcffb517..9192a43bb6 100644
--- a/osm.el
+++ b/osm.el
@@ -216,6 +216,7 @@ Should be at least 7 days according to the server usage
policies."
(defvar osm--menu
'(["Home" osm-home t]
+ ["Center" osm-center t]
["Go to" osm-goto t]
["Search" osm-search t]
["Server" osm-server t]
@@ -1473,7 +1474,7 @@ If the prefix argument LUCKY is non-nil take the first
result and jump there."
(kill-new link)
(message "Stored in the kill ring: %s" link)))
-(dolist (sym (list #'osm-up #'osm-down #'osm-left #'osm-right
+(dolist (sym (list #'osm-center #'osm-up #'osm-down #'osm-left #'osm-right
#'osm-up-up #'osm-down-down #'osm-left-left
#'osm-right-right
#'osm-zoom-out #'osm-zoom-in #'osm-bookmark-set
#'osm-gpx-hide
#'osm-elisp-link))