Browse Source

Merge branch 'maint' of code.orgmode.org:bzg/org-mode into maint

Bastien 7 years ago
parent
commit
f400694165
2 changed files with 186 additions and 186 deletions
  1. 184 183
      doc/org.texi
  2. 2 3
      lisp/org.el

File diff suppressed because it is too large
+ 184 - 183
doc/org.texi


+ 2 - 3
lisp/org.el

@@ -8536,7 +8536,6 @@ When REMOVE is non-nil, remove the subtree from the clipboard."
   (org-with-limited-levels
    (let* ((visp (not (org-invisible-p)))
 	  (txt tree)
-	  (^re_ "\\(\\*+\\)[  \t]*")
 	  (old-level (if (string-match org-outline-regexp-bol txt)
 			 (- (match-end 0) (match-beginning 0) 1)
 		       -1))
@@ -8553,7 +8552,7 @@ When REMOVE is non-nil, remove the subtree from the clipboard."
 			    (condition-case nil
 				(progn
 				  (outline-previous-visible-heading 1)
-				  (if (looking-at ^re_)
+				  (if (looking-at org-outline-regexp-bol)
 				      (- (match-end 0) (match-beginning 0) 1)
 				    1))
 			      (error 1))))
@@ -8562,7 +8561,7 @@ When REMOVE is non-nil, remove the subtree from the clipboard."
 			    (progn
 			      (or (looking-at org-outline-regexp)
 				  (outline-next-visible-heading 1))
-			      (if (looking-at ^re_)
+			      (if (looking-at org-outline-regexp-bol)
 				  (- (match-end 0) (match-beginning 0) 1)
 				1))
 			  (error 1))))

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