fixed repeater top level cloner
This commit is contained in:
parent
3c9e79c31f
commit
2324fac7d0
6
conf.org
6
conf.org
|
@ -988,7 +988,11 @@ the top level headline and only looks at the second level of
|
|||
headlines to clone."
|
||||
(interactive "nNumber of clones to produce: ")
|
||||
;; do nothing if there is nothing to clone
|
||||
(unless (eq :uninit (nd/get-iterator-status))
|
||||
(unless (eq :uninit
|
||||
(or (and (nd/is-iterator-heading-p)
|
||||
(nd/get-iterator-status))
|
||||
(and (nd/is-periodical-heading-p)
|
||||
(nd/get-periodical-status))))
|
||||
;; goto last item in the second level
|
||||
(save-excursion
|
||||
(let ((current-point (point)))
|
||||
|
|
Loading…
Reference in New Issue