branch: externals/osm
commit 69e8c8bf20fa0876dfbf84a90c8e0c04750fdc0f
Author: Daniel Mendler <[email protected]>
Commit: Daniel Mendler <[email protected]>

    osm-url: Handle more gmap urls
---
 osm.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/osm.el b/osm.el
index 734896a1d3..8ba96a612a 100644
--- a/osm.el
+++ b/osm.el
@@ -1475,7 +1475,7 @@ See also `osm-save-url'."
                  (and server (intern-soft server))
                  'osm-selected "Geo Link")))
    ;; Google Maps
-   ((or (string-match "goo.*!3d\\([0-9.-]+\\)!4d\\([0-9.-]+\\)!\\([0-9]+\\)z" 
url)
+   ((or (string-match "goo.*!3d\\([0-9.-]+\\)!4d\\([0-9.-]+\\)!\\([0-9]+\\)" 
url)
         (string-match "goo.*@\\([0-9.-]+\\),\\([0-9.-]+\\),\\([0-9]+\\)" url)
         (string-match "goo.*/search/\\([0-9.+-]+\\),\\([0-9.+-]+\\)" url))
     (let ((lat (string-to-number (match-string 1 url)))

Reply via email to