Browse Source

Merge branch 'maint'

Bastien Guerry 13 years ago
parent
commit
0fa4255eab
2 changed files with 818 additions and 256 deletions
  1. 813 254
      etc/ORG-NEWS
  2. 5 2
      lisp/org.el

File diff suppressed because it is too large
+ 813 - 254
etc/ORG-NEWS


+ 5 - 2
lisp/org.el

@@ -21222,7 +21222,8 @@ meant to be filled."
 		     (make-string (org-list-item-body-column
 				   (org-element-property :begin parent))
 				  ? ))
-		    ((looking-at "[ \t]+") (match-string 0))
+		    ((save-excursion (beginning-of-line) (looking-at "[ \t]+"))
+		     (match-string 0))
 		    (t  ""))))
 	   (comment-block
 	    ;; Only fill contents if P is within block boundaries.
@@ -21234,7 +21235,9 @@ meant to be filled."
 			   (skip-chars-backward " \r\t\n")
 			   (line-beginning-position))))
 	      (when (and (>= p cbeg) (< p cend))
-		(if (looking-at "[ \t]+") (match-string 0) ""))))))))))
+		(if (save-excursion (beginning-of-line) (looking-at "[ \t]+"))
+		    (match-string 0)
+		  ""))))))))))
 
 (declare-function message-goto-body "message" ())
 (defvar message-cite-prefix-regexp)	; From message.el

Some files were not shown because too many files changed in this diff