Commit d88beab5 authored by Kim F. Storm's avatar Kim F. Storm

New next-error framework, use in occur.

parent 5d9f0de2
......@@ -88,6 +88,9 @@ types any more. Add -DUSE_LISP_UNION_TYPE if you want union types.
* Changes in Emacs 21.4
** You can now use next-error (C-x `) and previous-error to advance to
the next/previous matching line found by M-x occur.
** New command line option -Q.
2004-04-21 Teodor Zlatanov <>
* simple.el (next-error-last-buffer, next-error-function):
New variables for the next-error framework.
(next-error-buffer-p): New function.
(next-error-find-buffer): Generalize compilation-find-buffer.
(next-error, previous-error, first-error, next-error-no-select)
(previous-error-no-select): Move from compile.el.
* replace.el (occur-next-error, occur-1): Hook into the next-error
* progmodes/compile.el (compilation-start):
Set next-error-last-buffer so next-error knows where to jump.
(compilation-setup): Set the buffer-local variable
next-error-function to 'compilation-next-error-function.
(compilation-buffer-p, compilation-buffer-internal-p): Use an
alternate way to find if a buffer is a compilation buffer, for
next-error convenience.
(next-error-no-select, previous-error-no-select, next-error)
(previous-error, first-error): Move to simple.el.
(compilation-find-buffer): Move to next-error-find-buffer in simple.el.
(compilation-last-buffer): Remove.
(compilation-start, compilation-next-error, compilation-setup)
(compilation-next-error-function, compilation-find-buffer):
Remove compilation-last-buffer use.
2004-04-21 Juanma Barranquero <>
* makefile.w32-in (WINS): Add url/ directory.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment