Implement next-error and previous-error functionality for sparse trees
commitdd234613497e8ddfe58f2478efcd9ee1d9f5bc3a
authorCarsten Dominik <carsten.dominik@gmail.com>
Thu, 6 Jan 2011 10:30:30 +0000 (6 11:30 +0100)
committerCarsten Dominik <carsten.dominik@gmail.com>
Thu, 6 Jan 2011 11:36:22 +0000 (6 12:36 +0100)
tree5c9d8cb8c3f8403dda779f1587a7a9323da66098
parent08755d7aa9486411ffa36122867c967a16aab696
Implement next-error and previous-error functionality for sparse trees

* lisp/org.el (org-occur-next-match): New function.
(org-mode): Set the variable `next-error-function'.
(org-highlight-new-match): Add an `org-type' property to the overlays.
* doc/org.texi (Sparse trees): Document the next-error / previous-error
functionality.

After a sparse tree construction, `M-g n' and `M-g p' will now jump to
the location of matches.
doc/org.texi
lisp/org.el