瀏覽代碼

org-scan-tags: Fixup a1c923afd

* lisp/org.el: Drop missed 'words argument to `regexp-opt'.
Ihor Radchenko 2 年之前
父節點
當前提交
eeb4fa8c09
共有 1 個文件被更改,包括 1 次插入1 次删除
  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