If your Org mode contains the function org-bookmark-jump-unhide
, then all you have to do is add it to bookmark-after-jump-hook
:
(add-hook 'bookmark-after-jump-hook '#org-bookmark-jump-unhide)
If your emacs version's bookmark.el
does not define/use bookmark-after-jump-hook
, then you can advise bookmark-jump
:
(defadvice bookmark-jump (after org-make-visible activate)
"Make the position visible."
(org-bookmark-jump-unhide))))
All of this comes courtesy of the current org-compat.el
org-compat.el
file.