diff --git a/README.org b/README.org index e30bfa2..8468790 100644 --- a/README.org +++ b/README.org @@ -6999,11 +6999,27 @@ application/pdf; emacsclient %s [[https://github.com/minad/osm#readme][Open Street Map]] is a tile-based map viewer with a responsive movable and zoomable display and with a list of multiple preconfigured tile servers. +Listing [[lst:ensure-osm-installation]] ensures the installation of ~osm~ and +listing [[lst:using-osm-example]] is a minimal example of how to use ~osm~. Inside +~osm-mode~ buffers, the command src_emacs-lisp{(osm-bookmark-set)} is bound to +{{{kbd(C-x r b)}}} allowing to bookmark such buffers. Outside ~osm-mode~ +buffers, the command src_emacs-lisp{(call-interactively 'consult-bookmark)} is +bound to {{{kbd(C-x r b)}}}. +#+caption[Ensure "osm" installation]: +#+caption: Ensure ~osm~ installation. +#+name: lst:ensure-osm-installation #+begin_src emacs-lisp -n (ensure-package-installation 'osm) #+end_src +#+caption[Using "osm" example]: +#+caption: Using ~osm~ example. +#+name: lst:using-osm-example +#+begin_src emacs-lisp -n :tangle no +(osm "Tower of London") +#+end_src + *** [[https://github.com/pashky/restclient.el#readme][Restclient]] :PROPERTIES: :CUSTOM_ID: sec:restclient