Преглед изворни кода

Protect escape char in `org-complex-heading-regexp-format'

* org.el (org-set-regexps-and-options): Protect escape char in
`org-complex-heading-regexp-format'.
David Maus пре 14 година
родитељ
комит
3d6c1090cb
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      lisp/org.el

+ 1 - 1
lisp/org.el

@@ -4429,7 +4429,7 @@ means to push this value onto the list in the variable.")
 		    "\\(?:[ \t]*\\(?:\\[[0-9%%/]+\\]\\)\\)?" ;; stats cookie
 		    "[ \t]*\\(%s\\)"
 		    "\\(?:[ \t]*\\(?:\\[[0-9%%/]+\\]\\)\\)?" ;; stats cookie
-		    "\\(?:[ \t]+\\(:[[:alnum:]_@#%:]+:\\)\\)?[ \t]*$")
+		    "\\(?:[ \t]+\\(:[[:alnum:]_@#%%:]+:\\)\\)?[ \t]*$")
 	    org-nl-done-regexp
 	    (concat "\n\\*+[ \t]+"
 		    "\\(?:" (mapconcat 'regexp-quote org-done-keywords "\\|")