فهرست منبع

Fontify src blocks following a "name" keyword

* lisp/org.el (org-fontify-meta-lines-and-blocks-1): Recognize "name"
  as a valid keyword that can preceed a block.
Nicolas Goaziou 14 سال پیش
والد
کامیت
b5935f777e
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      lisp/org.el

+ 1 - 1
lisp/org.el

@@ -5437,7 +5437,7 @@ will be prompted for."
 	    t)
 	    t)
 	   ((or (member dc1 '("begin:" "end:" "caption:" "label:"
 	   ((or (member dc1 '("begin:" "end:" "caption:" "label:"
 			      "orgtbl:" "tblfm:" "tblname:" "results:"
 			      "orgtbl:" "tblfm:" "tblname:" "results:"
-			      "call:" "header:" "headers:"))
+			      "call:" "header:" "headers:" "name:"))
 		(and (match-end 4) (equal dc3 "attr")))
 		(and (match-end 4) (equal dc3 "attr")))
 	    (add-text-properties
 	    (add-text-properties
 	     beg (match-end 0)
 	     beg (match-end 0)