forked from mirrors/org-mode
Merge branch 'maint'
This commit is contained in:
commit
4fe4d12a79
|
@ -1156,7 +1156,7 @@ may have been stored before."
|
|||
(org-capture-empty-lines-after)
|
||||
(unless (org-at-heading-p) (outline-next-heading))
|
||||
(org-capture-mark-kill-region origin (point))
|
||||
(org-capture-narrow beg (1- (point)))
|
||||
(org-capture-narrow beg (point))
|
||||
(when (or (search-backward "%?" beg t)
|
||||
(search-forward "%?" nil t))
|
||||
(replace-match ""))))))
|
||||
|
|
|
@ -208,7 +208,6 @@
|
|||
(org-capture-templates
|
||||
`(("t" "Todo" entry (file+headline ,file "A") "** H1 %?"))))
|
||||
(org-capture nil "t")
|
||||
(goto-char (point-max))
|
||||
(insert "Capture text")
|
||||
(org-capture-finalize))
|
||||
(buffer-string))))
|
||||
|
|
Loading…
Reference in New Issue