0
0
Fork 1
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-07-20 13:56:28 +00:00

* lisp/ol-info.el (org-info-other-documents): Convert to `defcustom'

* etc/ORG-NEWS (~org-info-other-documents~ is now a custom option):
Announce the change.

Link: https://orgmode.org/list/871qe44cec.fsf@breatheoutbreathe.in
This commit is contained in:
Ihor Radchenko 2023-10-10 19:23:37 +03:00
parent ce47fdf382
commit 7e7ce81136
No known key found for this signature in database
GPG key ID: 6470762A7DA11D8B
2 changed files with 12 additions and 2 deletions

View file

@ -308,6 +308,12 @@ The change is breaking when ~org-use-property-inheritance~ is set to ~t~.
The =TEST= parameter is better served by Emacs debugging tools.
** New and changed options
*** ~org-info-other-documents~ is now a custom option
Users can now extend the value of ~org-info-other-documents~ to
specify Urls to third-party (non-Emacs) online info nodes when
exporting =info:= links.
*** ~org-export-smart-quotes-alist~ is now a custom option
Previously, smart quotes rules for different languages where

View file

@ -139,13 +139,17 @@ If LINK is not an info link then DESC is returned."
"List of Emacs documents available.
Taken from <https://www.gnu.org/software/emacs/manual/html_mono/.>")
(defconst org-info-other-documents
(defcustom org-info-other-documents
'(("dir" . "https://www.gnu.org/manual/manual.html") ; index
("libc" . "https://www.gnu.org/software/libc/manual/html_mono/libc.html")
("make" . "https://www.gnu.org/software/make/manual/make.html"))
"Alist of documents generated from Texinfo source.
When converting info links to HTML, links to any one of these manuals are
converted to use these URL.")
converted to use these URL."
:group 'org-link
:type '(alist :key-type string :value-type string)
:package-version '(Org . "9.7")
:safe t)
(defun org-info-map-html-url (filename)
"Return URL or HTML file associated to Info FILENAME.