Browse Source

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.
Carsten Dominik 13 years ago
parent
commit
3268d3b48f
1 changed files with 1 additions and 0 deletions
  1. 1 0
      lisp/org.el

+ 1 - 0
lisp/org.el

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