diff --git a/doc/org-manual.org b/doc/org-manual.org index e77809c90..3a49917d7 100644 --- a/doc/org-manual.org +++ b/doc/org-manual.org @@ -16400,34 +16400,40 @@ Some export backends include commands to convert a region of Org formatted text to another format, such as HTML or LaTeX. The conversion replaces the original source. Here are such commands: -- ~org-ascii-convert-region-to-ascii~ :: +- ~org-export-region-to-ascii~ :: #+findex: org-ascii-convert-region-to-ascii + #+findex: org-export-region-to-ascii Convert the selected region into ASCII. -- ~org-ascii-convert-region-to-utf8~ :: +- ~org-export-region-to-utf8~ :: #+findex: org-ascii-convert-region-to-utf8 + #+findex: org-export-region-to-utf8 Convert the selected region into UTF-8. -- ~org-html-convert-region-to-html~ :: +- ~org-export-region-to-html~ :: #+findex: org-html-convert-region-to-html + #+findex: org-export-region-to-html Convert the selected region into HTML. -- ~org-latex-convert-region-to-latex~ :: +- ~org-export-region-to-latex~ :: #+findex: org-latex-convert-region-to-latex + #+findex: org-export-region-to-latex Convert the selected region into LaTeX. -- ~org-texinfo-convert-region-to-texinfo~ :: +- ~org-export-region-to-texinfo~ :: #+findex: org-texinfo-convert-region-to-texinfo + #+findex: org-export-region-to-texinfo Convert the selected region into Texinfo. -- ~org-md-convert-region-to-md~ :: +- ~org-export-region-to-md~ :: #+findex: org-md-convert-region-to-md + #+findex: org-export-region-to-md Convert the selected region into Markdown. The in-place conversion is particularly handy for quick conversion of diff --git a/lisp/ox-ascii.el b/lisp/ox-ascii.el index 9d94241b3..1a63a34b1 100644 --- a/lisp/ox-ascii.el +++ b/lisp/ox-ascii.el @@ -2098,6 +2098,8 @@ a communication channel." (let ((org-ascii-charset 'ascii)) (org-export-replace-region-by 'ascii))) +(defalias 'org-export-region-to-ascii #'org-ascii-convert-region-to-ascii) + ;;;###autoload (defun org-ascii-convert-region-to-utf8 () "Assume region has Org syntax, and convert it to UTF-8." @@ -2105,6 +2107,8 @@ a communication channel." (let ((org-ascii-charset 'utf-8)) (org-export-replace-region-by 'ascii))) +(defalias 'org-export-region-to-utf8 #'org-ascii-convert-region-to-utf8) + ;;;###autoload (defun org-ascii-export-as-ascii (&optional async subtreep visible-only body-only ext-plist) diff --git a/lisp/ox-html.el b/lisp/ox-html.el index b519402b1..58c8cad9b 100644 --- a/lisp/ox-html.el +++ b/lisp/ox-html.el @@ -3969,6 +3969,8 @@ to convert it." (interactive) (org-export-replace-region-by 'html)) +(defalias 'org-export-region-to-html #'org-html-convert-region-to-html) + ;;;###autoload (defun org-html-export-to-html (&optional async subtreep visible-only body-only ext-plist) diff --git a/lisp/ox-latex.el b/lisp/ox-latex.el index 4708ab4b8..d6dc88197 100644 --- a/lisp/ox-latex.el +++ b/lisp/ox-latex.el @@ -4199,6 +4199,8 @@ command to convert it." (interactive) (org-export-replace-region-by 'latex)) +(defalias 'org-export-region-to-latex #'org-latex-convert-region-to-latex) + ;;;###autoload (defun org-latex-export-to-latex (&optional async subtreep visible-only body-only ext-plist) diff --git a/lisp/ox-md.el b/lisp/ox-md.el index 186c4e682..7c0cb649a 100644 --- a/lisp/ox-md.el +++ b/lisp/ox-md.el @@ -764,6 +764,7 @@ this command to convert it." (interactive) (org-export-replace-region-by 'md)) +(defalias 'org-export-region-to-md #'org-md-convert-region-to-md) ;;;###autoload (defun org-md-export-to-markdown (&optional async subtreep visible-only) diff --git a/lisp/ox-texinfo.el b/lisp/ox-texinfo.el index 5502cd289..d777e7a79 100644 --- a/lisp/ox-texinfo.el +++ b/lisp/ox-texinfo.el @@ -1993,6 +1993,8 @@ command to convert it." (interactive) (org-export-replace-region-by 'texinfo)) +(defalias 'org-export-region-to-texinfo #'org-texinfo-convert-region-to-texinfo) + (defun org-texinfo-compile (file) "Compile a texinfo file.