summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2021-02-03 01:27:15 -0500
committerKyle Meyer <kyle@kyleam.com>2021-02-03 01:27:15 -0500
commit26773a404e359c7cde994956f5749d92dd470430 (patch)
treef89b4c79f1e18d4636c5b20125316e860e1d3ca6
parent041459727223da8980737ac96637985c78ef3a33 (diff)
parent2ed1c20ff70ecab3a454df97038aa4aa0b223a46 (diff)
downloadorg-mode-26773a404e359c7cde994956f5749d92dd470430.tar.gz
Merge branch 'maint'
-rw-r--r--lisp/org-compat.el9
1 files changed, 1 insertions, 8 deletions
diff --git a/lisp/org-compat.el b/lisp/org-compat.el
index 88bf21b..8cbf331 100644
--- a/lisp/org-compat.el
+++ b/lisp/org-compat.el
@@ -1104,14 +1104,7 @@ ELEMENT is the element at point."
(org-show-context 'bookmark-jump)))
;; Make `bookmark-jump' shows the jump location if it was hidden.
-(eval-after-load 'bookmark
- '(if (boundp 'bookmark-after-jump-hook)
- ;; We can use the hook
- (add-hook 'bookmark-after-jump-hook 'org-bookmark-jump-unhide)
- ;; Hook not available, use advice
- (defadvice bookmark-jump (after org-make-visible activate)
- "Make the position visible."
- (org-bookmark-jump-unhide))))
+(add-hook 'bookmark-after-jump-hook 'org-bookmark-jump-unhide)
;;;; Calendar