Browse Source

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 8 years ago
parent
commit
0b54bce2c4
1 changed files with 1 additions and 1 deletions
  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)))