summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeo Vivier <leo.vivier+dev@gmail.com>2020-06-12 06:45:32 +0200
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2020-06-13 17:32:07 +0200
commit325922c60615ed45829739ca7e4ac5038051b3fd (patch)
tree2773b5ebea8e10b40f7ca26dea37a9f230fae1b6
parente2b62b4da8839106bbfedeb778e4ad4b40164964 (diff)
downloadorg-mode-325922c60615ed45829739ca7e4ac5038051b3fd.tar.gz
org-element: Update docstring
* org-element.el (org-element-keyword-parser): Mention that `keyword' is normalized by being upcased.
-rw-r--r--lisp/org-element.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/org-element.el b/lisp/org-element.el
index a5641e6..a693cb6 100644
--- a/lisp/org-element.el
+++ b/lisp/org-element.el
@@ -2174,9 +2174,9 @@ the buffer position at the beginning of the first affiliated
keyword and CDR is a plist of affiliated keywords along with
their value.
-Return a list whose CAR is `keyword' and CDR is a plist
-containing `:key', `:value', `:begin', `:end', `:post-blank' and
-`:post-affiliated' keywords."
+Return a list whose CAR is a normalized `keyword' (uppercase) and
+CDR is a plist containing `:key', `:value', `:begin', `:end',
+`:post-blank' and `:post-affiliated' keywords."
(save-excursion
;; An orphaned affiliated keyword is considered as a regular
;; keyword. In this case AFFILIATED is nil, so we take care of