Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set the compilation-error-regexp-alist in a hook (#126)
Some modes, for instance verilog-mode, adds to the compilation-error-regexp-alist and friends which could interfere with rg-mode regexps. Since rg-mode isn't a generic compilation mode we want to avoid that. This solution defer setting these regexps to the last run compilation-mode-hook to be able to override whatever happens in other hooks.
- Loading branch information
Showing
2 changed files
with
47 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters