|
@@ -823,7 +823,7 @@ already gone. Any prefix argument will be passed to the refile command."
|
|
|
(org-capture-put
|
|
|
:initial-target-region
|
|
|
;; Check if the buffer is currently narrowed
|
|
|
- (when (/= (buffer-size) (- (point-max) (point-min)))
|
|
|
+ (when (org-buffer-narrowed-p)
|
|
|
(cons (point-min) (point-max))))
|
|
|
;; store the current point
|
|
|
(org-capture-put :initial-target-position (point)))
|