From 7fffacdda6015cee895e8eddb554bce1b82da6d2 Mon Sep 17 00:00:00 2001 From: Max Nikulin Date: Wed, 31 Aug 2022 09:15:17 +0700 Subject: [PATCH 1/2] ORG-NEWS: `org-info-description-as-command' * etc/ORG-NEWS: Mention that `org-info' uses `:insert-description', a new feature of `org-link-parameters'. --- etc/ORG-NEWS | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/etc/ORG-NEWS b/etc/ORG-NEWS index d6d99a64b..713a850f6 100644 --- a/etc/ORG-NEWS +++ b/etc/ORG-NEWS @@ -455,6 +455,17 @@ prompting for a link description. It can be a string (used as-is) or a function (called with the same arguments as ~org-make-link-description-function~ to return a string to use). +An example of a such function for =info:= links is +~org-info-description-as-command~. To access a manual section outside +of Org, description may be pasted to shell prompt or evaluated withing +Emacs using =M-:= (wrapped into parenthesis). For example, +description of the =info:org#Tags= link is =info "(org) Tags"=. To +restore earlier behavior add to your Emacs init file the following: +#+begin_src elisp :results silent :eval never-export + (with-eval-after-load 'ol-info + (org-link-set-parameters "info" :insert-description nil)) +#+end_src + *** New list of languages for LaTeX export: ~org-latex-language-alist~ ~org-latex-language-alist~ unifies into a single list the old language -- 2.25.1