Ver código fonte

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.
Bastien Guerry 11 anos atrás
pai
commit
a3d7cdcd9e
2 arquivos alterados com 12 adições e 5 exclusões
  1. 6 3
      lisp/org.el
  2. 6 2
      lisp/ox.el

+ 6 - 3
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" {})

+ 6 - 2
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" {})