diff --git a/vlf-occur.el b/vlf-occur.el index bfd8d6e..cea885e 100644 --- a/vlf-occur.el +++ b/vlf-occur.el @@ -249,8 +249,7 @@ in file: %s" total-matches line regexp file) (set-buffer-modified-p nil) (forward-char 2) (vlf-occur-mode)) - (display-buffer occur-buffer)) - (run-hook-with-args 'vlf-after-batch-functions 'occur)))) + (display-buffer occur-buffer))))) (provide 'vlf-occur)