Selaa lähdekoodia

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 vuotta sitten
vanhempi
commit
3268d3b48f
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  1. 1 0
      lisp/org.el

+ 1 - 0
lisp/org.el

@@ -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)