From a846152e4d755e0dc4c8b7e95531ab39a2aa09ae Mon Sep 17 00:00:00 2001 From: Bastien Date: Tue, 15 Dec 2020 14:56:45 +0100 Subject: [PATCH] doc/org-manual.org: Enhance examples * doc/org-manual.org (Link Abbreviations): Enhance examples. --- doc/org-manual.org | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/doc/org-manual.org b/doc/org-manual.org index 65e939120..abc2d661c 100644 --- a/doc/org-manual.org +++ b/doc/org-manual.org @@ -3516,12 +3516,11 @@ replacement text. Here is an example: #+begin_src emacs-lisp (setq org-link-abbrev-alist - '(("bugzilla" . "http://10.1.2.9/bugzilla/show_bug.cgi?id=") - ("url-to-ja" . "http://translate.google.fr/translate?sl=en&tl=ja&u=%h") - ("google" . "http://www.google.com/search?q=") - ("gmap" . "http://maps.google.com/maps?q=%s") - ("omap" . "http://nominatim.openstreetmap.org/search?q=%s&polygon=1") - ("ads" . "https://ui.adsabs.harvard.edu/search/q=%20author%3A\"%s\""))) + '(("bugzilla" . "http://10.1.2.9/bugzilla/show_bug.cgi?id=") + ("Nu Html Checker" . "https://validator.w3.org/nu/?doc=%h") + ("duckduckgo" . "https://duckduckgo.com/?q=%s") + ("omap" . "http://nominatim.openstreetmap.org/search?q=%s&polygon=1") + ("ads" . "https://ui.adsabs.harvard.edu/search/q=%20author%3A\"%s\""))) #+end_src If the replacement text contains the string =%s=, it is replaced with