>> Sounds like a serious bug. Such bugs can lead to loss of data.
> Does that mean that you agree that occur mode should run occur-hook via
No, it means I agree that your code is buggy and should thus be fixed.
> (save-current-buffer
> (run-hooks 'occur-hook))
Once your code is fixed this is not needed any more. If the occur-hook is
expected to set-buffer in most/many cases, it might make sense, but
otherwise it doesn't.
Stefan
_______________________________________________
Emacs-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-devel