Run `org-cycle-hook' after `show-all' in indirect buffer

* lisp/org.el (org-tree-to-indirect-buffer): Run `org-cycle-hook' after `show-all'
in indirect buffer.
This commit is contained in:
Carsten Dominik 2011-10-04 09:56:12 +02:00
parent 809318dd5b
commit 3268d3b48f
1 changed files with 1 additions and 0 deletions

View File

@ -6869,6 +6869,7 @@ frame is not changed."
(narrow-to-region beg end)
(show-all)
(goto-char pos)
(run-hook-with-args 'org-cycle-hook 'all))
(and (window-live-p cwin) (select-window cwin))))
(defun org-get-indirect-buffer (&optional buffer)