summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Guerry <bzg@altern.org>2013-11-17 08:46:50 +0100
committerBastien Guerry <bzg@altern.org>2013-11-17 08:46:50 +0100
commita3d7cdcd9e76fa0346c098b473ee5d53b839745b (patch)
tree7109c68836b83d1830ce8feb63cc1cc77f51d5c2
parent0a6b6bf73514196b3c445116302195e374688dbd (diff)
downloadorg-mode-a3d7cdcd9e76fa0346c098b473ee5d53b839745b.tar.gz
Fix version for org-(export-with|use)-sub-superscript
* ox.el (org-export-with-sub-superscripts): * org.el (org-use-sub-superscripts): Fix version and enhance docstring again.
-rw-r--r--lisp/org.el9
-rw-r--r--lisp/ox.el8
2 files changed, 12 insertions, 5 deletions
diff --git a/lisp/org.el b/lisp/org.el
index 50d44c3..2781c67 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -655,8 +655,10 @@ the following lines anywhere in the buffer:
(defcustom org-use-sub-superscripts t
"Non-nil means interpret \"_\" and \"^\" for display.
-If you want to control how Org exports those characters,
-see `org-export-with-sub-superscripts'.
+If you want to control how Org exports those characters, see
+`org-export-with-sub-superscripts'. `org-use-sub-superscripts'
+used to be an alias for `org-export-with-sub-superscripts' in
+Org <8.0, it is not anymore.
When this option is turned on, you can use TeX-like syntax for
sub- and superscripts within the buffer. Several characters after
@@ -676,7 +678,8 @@ the braces are *required* in order to trigger interpretations as
sub/superscript. This can be helpful in documents that need \"_\"
frequently in plain text."
:group 'org-startup
- :version "24.1"
+ :version "24.4"
+ :package-version '(Org . "8.0")
:type '(choice
(const :tag "Always interpret" t)
(const :tag "Only with braces" {})
diff --git a/lisp/ox.el b/lisp/ox.el
index 22fe8f9..c5f3699 100644
--- a/lisp/ox.el
+++ b/lisp/ox.el
@@ -626,8 +626,10 @@ e.g. \"stat:nil\""
(defcustom org-export-with-sub-superscripts t
"Non-nil means interpret \"_\" and \"^\" for export.
-If you want to control how Org displays those characters,
-see `org-use-sub-superscripts'.
+If you want to control how Org displays those characters, see
+`org-use-sub-superscripts'. `org-export-with-sub-superscripts'
+used to be an alias for `org-use-sub-superscripts' in Org <8.0,
+it is not anymore.
When this option is turned on, you can use TeX-like syntax for
sub- and superscripts and see them exported correctly.
@@ -651,6 +653,8 @@ the braces are *required* in order to trigger interpretations as
sub/superscript. This can be helpful in documents that need \"_\"
frequently in plain text."
:group 'org-export-general
+ :version "24.4"
+ :package-version '(Org . "8.0")
:type '(choice
(const :tag "Interpret them" t)
(const :tag "Curly brackets only" {})