emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/org 1b647b00d0 1/2: ORG-NEWS: `org-info-description-as-


From: ELPA Syncer
Subject: [elpa] externals/org 1b647b00d0 1/2: ORG-NEWS: `org-info-description-as-command'
Date: Mon, 5 Sep 2022 02:57:56 -0400 (EDT)

branch: externals/org
commit 1b647b00d08354d1c2824d0140149a39b271fab7
Author: Max Nikulin <manikulin@gmail.com>
Commit: Ihor Radchenko <yantar92@gmail.com>

    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 d6d99a64ba..713a850f6b 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]