summaryrefslogtreecommitdiff
path: root/lisp/org/org-feed.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/org/org-feed.el')
-rw-r--r--lisp/org/org-feed.el7
1 files changed, 3 insertions, 4 deletions
diff --git a/lisp/org/org-feed.el b/lisp/org/org-feed.el
index b2dc4f309c4..f9f5fb051e8 100644
--- a/lisp/org/org-feed.el
+++ b/lisp/org/org-feed.el
@@ -407,14 +407,13 @@ it can be a list structured like an entry in `org-feed-alist'."
;; Write the new status
;; We do this only now, in case something goes wrong above, so
;; that would would end up with a status that does not reflect
- ;; which items truely have been handled
+ ;; which items truly have been handled
(org-feed-write-status inbox-pos drawer status)
;; Normalize the visibility of the inbox tree
(goto-char inbox-pos)
- (outline-hide-subtree)
+ (org-flag-subtree t)
(org-show-children)
- (org-cycle-hide-drawers 'children)
;; Hooks and messages
(when org-feed-save-after-adding (save-buffer))
@@ -567,7 +566,7 @@ If that property is already present, nothing changes."
(if (looking-at
(concat "^\\([ \t]*\\)%" name "[ \t]*$"))
(org-feed-make-indented-block
- v (org-get-indentation))
+ v (current-indentation))
v))))))))
(when replacement
(insert