summaryrefslogtreecommitdiff
path: root/lisp/init-org.el
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2014-11-26 23:34:24 -0500
committerKyle Meyer <kyle@kyleam.com>2014-11-26 23:34:24 -0500
commitc58c4ebe87b4db1edd7aae653fc5af520a320f1a (patch)
tree6b675a68fca9764c3db39ac4cb9989aec6335994 /lisp/init-org.el
parent1c6258b2112b910ff62e3453032d6dde9c9030b0 (diff)
downloademacs.d-c58c4ebe87b4db1edd7aae653fc5af520a320f1a.tar.gz
Remove outdated advice for magit-visit
magit-visit was removed a while ago [1], so this isn't doing anything. Currently, there are multiple functions to advise [2]. Instead of doing that, I'll just call org-reveal (C-c C-r). [1] 81c6b881d9e4e93442677d6e2183c7f2cc47887a [2] 2dc3965e74eabe53763f208809a9dae3105c1149
Diffstat (limited to 'lisp/init-org.el')
-rw-r--r--lisp/init-org.el9
1 files changed, 0 insertions, 9 deletions
diff --git a/lisp/init-org.el b/lisp/init-org.el
index cbaab0a..a1f820f 100644
--- a/lisp/init-org.el
+++ b/lisp/init-org.el
@@ -247,15 +247,6 @@ to
(when (eq major-mode 'org-mode)
(org-show-context))))
-(defadvice magit-visit
- (after magit-visit-show-org-context activate)
- "Show context if visiting Org buffer.
-This is an improvement, but still not great. It requires the
-point be on or under a heading in the Magit diff. If above, the
-context will be shown for above heading."
- (when (eq major-mode 'org-mode)
- (org-show-context)))
-
;;; Agenda
(after 'org-agenda