org-emphasis-alist: Clarify that emphasis markers cannot be changed

* lisp/org.el (org-emphasis-alist): Update the docstring, clarifying
that emphasis markers cannot be changed to arbitrary markers.

Link: https://orgmode.org/list/m3il0pac42.fsf@sina.com
This commit is contained in:
Ihor Radchenko 2024-04-10 11:17:03 +03:00
parent 67ec699769
commit 42cdf2a90e
No known key found for this signature in database
GPG Key ID: 6470762A7DA11D8B
1 changed files with 9 additions and 3 deletions

View File

@ -3708,8 +3708,8 @@ You need to reload Org or to restart Emacs after setting this.")
"Alist of characters and faces to emphasize text.
Text starting and ending with a special character will be emphasized,
for example *bold*, _underlined_ and /italic/. This variable sets the
marker characters and the face to be used by font-lock for highlighting
in Org buffers.
the face to be used by font-lock for highlighting in Org buffers.
Marker characters must be one of */_=~+.
You need to reload Org or to restart Emacs after customizing this."
:group 'org-appearance
@ -3718,7 +3718,13 @@ You need to reload Org or to restart Emacs after customizing this."
:package-version '(Org . "8.0")
:type '(repeat
(list
(string :tag "Marker character")
(choice
(const :tag "Bold" "*")
(const :tag "Italic" "/")
(const :tag "Underline" "_")
(const :tag "Verbatim" "=")
(const :tag "Code" "~")
(const :tag "Strike through" "+"))
(choice
(face :tag "Font-lock-face")
(plist :tag "Face property list"))