Fix `org-skip-over-state-notes'

* lisp/org.el (org-skip-over-state-notes): Allow empty TODO states.

Reported-by: Michael Brand <michael.ch.brand@gmail.com>
<http://lists.gnu.org/r/emacs-orgmode/2018-05/msg00337.html>
This commit is contained in:
Nicolas Goaziou 2018-05-16 22:06:39 +02:00
parent 732aa477b0
commit 2b26644b3a
1 changed files with 2 additions and 2 deletions

View File

@ -13594,8 +13594,8 @@ EXTRA is additional text that will be inserted into the notes buffer."
(regexp-quote (cdr (assq 'state org-log-note-headings))) (regexp-quote (cdr (assq 'state org-log-note-headings)))
`(("%d" . ,org-ts-regexp-inactive) `(("%d" . ,org-ts-regexp-inactive)
("%D" . ,org-ts-regexp) ("%D" . ,org-ts-regexp)
("%s" . "\"\\S-+\"") ("%s" . "\\(?:\"\\S-+\"\\)?")
("%S" . "\"\\S-+\"") ("%S" . "\\(?:\"\\S-+\"\\)?")
("%t" . ,org-ts-regexp-inactive) ("%t" . ,org-ts-regexp-inactive)
("%T" . ,org-ts-regexp) ("%T" . ,org-ts-regexp)
("%u" . ".*?") ("%u" . ".*?")