瀏覽代碼

Make the colon in "ORGTBL: SEND" optional.

Carsten Dominik 17 年之前
父節點
當前提交
80fb3351de
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lisp/org-table.el

+ 1 - 1
lisp/org-table.el

@@ -3510,7 +3510,7 @@ a radio table."
     (goto-char (org-table-begin))
     (goto-char (org-table-begin))
     (let (rtn)
     (let (rtn)
       (beginning-of-line 0)
       (beginning-of-line 0)
-      (while (looking-at "#\\+ORGTBL: *SEND +\\([a-zA-Z0-9_]+\\) +\\([^ \t\r\n]+\\)\\( +.*\\)?")
+      (while (looking-at "#\\+ORGTBL[: \t][ \t]*SEND +\\([a-zA-Z0-9_]+\\) +\\([^ \t\r\n]+\\)\\( +.*\\)?")
 	(let ((name (org-no-properties (match-string 1)))
 	(let ((name (org-no-properties (match-string 1)))
 	      (transform (intern (match-string 2)))
 	      (transform (intern (match-string 2)))
 	      (params (if (match-end 3)
 	      (params (if (match-end 3)