diff options
author | Nicolas Goaziou <n.goaziou@gmail.com> | 2012-08-04 10:16:12 +0200 |
---|---|---|
committer | Nicolas Goaziou <n.goaziou@gmail.com> | 2012-08-04 10:19:27 +0200 |
commit | 9d045b21bb9557c150298c023291084a70e9e65f (patch) | |
tree | 76c016c379b31fd24bf2ffe5a07aafd361ab6430 | |
parent | 71c957d903be88f9da94dd724d2b684540779c41 (diff) | |
download | org-mode-9d045b21bb9557c150298c023291084a70e9e65f.tar.gz |
org-element: Consider first "+" as a comment when parsing an ill-defined keyword
* lisp/org-element.el (org-element-comment-parser): Consider first "+"
as a comment when parsing an ill-defined keyword.
-rw-r--r-- | lisp/org-element.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/org-element.el b/lisp/org-element.el index 4ca815a..3962173 100644 --- a/lisp/org-element.el +++ b/lisp/org-element.el @@ -1349,7 +1349,7 @@ Assume point is at comment beginning." (begin (car keywords)) ;; Match first line with a loose regexp since it might as ;; well be an ill-defined keyword. - (value (prog2 (looking-at "[ \t]*#\\+? ?") + (value (prog2 (looking-at "[ \t]*# ?") (buffer-substring-no-properties (match-end 0) (line-end-position)) (forward-line))) @@ -2151,7 +2151,7 @@ CONTENTS is verse block contents." ;; org-element-NAME-successor, where NAME is the name of the ;; successor, as defined in `org-element-all-successors'. ;; -;; Some object types (i.e. `emphasis') are recursive. Restrictions on +;; Some object types (i.e. `italic') are recursive. Restrictions on ;; object types they can contain will be specified in ;; `org-element-object-restrictions'. ;; |