Explorar o código

Merge branch 'maint'

Nicolas Goaziou %!s(int64=9) %!d(string=hai) anos
pai
achega
5f217e6fd5
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      lisp/org.el

+ 2 - 0
lisp/org.el

@@ -4751,6 +4751,8 @@ Otherwise, these types are allowed:
    (let ((case-fold-search nil)
 	 (re (concat org-outline-regexp-bol ".*:" org-archive-tag ":")))
      (goto-char beg)
+     ;; Include headline point is currently on.
+     (beginning-of-line)
      (while (and (< (point) end) (re-search-forward re end t))
        (when (member org-archive-tag (org-get-tags))
 	 (org-flag-subtree t)