Parcourir la source

Merge branch 'maint'

Nicolas Goaziou il y a 7 ans
Parent
commit
2390b6302d
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      lisp/org-archive.el

+ 1 - 1
lisp/org-archive.el

@@ -435,7 +435,7 @@ Archiving time is retained in the ARCHIVE_TIME node property."
 	(looking-at org-outline-regexp)
 	(setq leader (match-string 0)
 	      level (funcall outline-level))
-	(setq pos (point))
+	(setq pos (point-marker))
 	(condition-case nil
 	    (outline-up-heading 1 t)
 	  (error (setq e (point-max)) (goto-char (point-min))))