Browse Source

org-scan-tags: Fixup a1c923afd

* lisp/org.el: Drop missed 'words argument to `regexp-opt'.
Ihor Radchenko 2 years ago
parent
commit
eeb4fa8c09
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lisp/org.el

+ 1 - 1
lisp/org.el

@@ -10861,7 +10861,7 @@ headlines matching this string."
 			 ;; Get the correct level to match
 			 (concat "\\*\\{" (number-to-string start-level) "\\} ")
 		       org-outline-regexp)
-		     " *\\(" (regexp-opt org-todo-keywords-1 'words) " \\)?"
+		     " *\\(" (regexp-opt org-todo-keywords-1) " \\)?"
 		     " *\\(.*?\\)\\([ \t]:\\(?:" org-tag-re ":\\)+\\)?[ \t]*$"))
 	 (props (list 'face 'default
 		      'done-face 'org-agenda-done