diff options
author | Kyle Meyer <kyle@kyleam.com> | 2014-03-15 02:15:29 -0400 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2014-03-15 12:04:58 -0400 |
commit | 752293fa2c19d090d19d52dae790fd3a387ee053 (patch) | |
tree | d790ae3a9756d3c54ee3f5e1fb3281734a5f11fa | |
parent | 43fde37b6b062166b53b86b8e6ccd3247be42f54 (diff) | |
download | emacs.d-752293fa2c19d090d19d52dae790fd3a387ee053.tar.gz |
Show Org context with `next-error'
-rw-r--r-- | lisp/init-org.el | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lisp/init-org.el b/lisp/init-org.el index 4ea6215..b545e9d 100644 --- a/lisp/init-org.el +++ b/lisp/init-org.el @@ -128,6 +128,10 @@ Before running `org-tree-to-indirect-buffer', (eval-after-load 'org-table '(diminish 'orgtbl-mode "Ot")) +(add-hook 'next-error-hook '(lambda () + (when (eq major-mode 'org-mode) + (org-show-context)))) + ;;; Agenda (defadvice org-agenda-list (around org-agenda-fullscreen activate) |