瀏覽代碼

org.el: Fix indentation of a property line starting at the beginning of a line.

* org.el (org-indent-line): Fix indentation of a property line
starting at the beginning of a line.
Bastien Guerry 12 年之前
父節點
當前提交
0b54bce2c4
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lisp/org.el

+ 1 - 1
lisp/org.el

@@ -20594,7 +20594,7 @@ If point is in an inline task, mark that task instead."
     (setq column (current-column))
     (beginning-of-line 1)
     (if (looking-at
-	 "\\([ \t]+\\)\\(:[-_0-9a-zA-Z]+:\\)[ \t]*\\(\\S-.*\\(\\S-\\|$\\)\\)")
+	 "\\([ \t]*\\)\\(:[-_0-9a-zA-Z]+:\\)[ \t]*\\(\\S-.*\\(\\S-\\|$\\)\\)")
 	(replace-match (concat (match-string 1)
 			       (format org-property-format
 				       (match-string 2) (match-string 3)))