Skip to content

Commit

Permalink
Fix compilation-filter-hook modification
Browse files Browse the repository at this point in the history
Bad testing of fix for #99
  • Loading branch information
dajva committed Oct 10, 2020
1 parent a442f6b commit 2c09809
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rg-result.el
Original file line number Diff line number Diff line change
Expand Up @@ -568,7 +568,7 @@ Commands:
(set (make-local-variable 'compilation-error-screen-columns) nil)
(unless rg-search-history
(setq rg-search-history (rg-history-create)))
(set (make-local-variable 'compilation-filter-hook) 'rg-filter))
(set (make-local-variable 'compilation-filter-hook) '(rg-filter)))

(defun rg-maybe-show-header ()
"Recreate header if enabled."
Expand Down

0 comments on commit 2c09809

Please sign in to comment.