Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

counsel.el: Require compile.el faces before use #1264

wants to merge 2 commits into from


Copy link

The first commit avoids Invalid face reference errors and non-propertised results for commands using counsel-git-grep-transformer when the compile library has not yet been loaded. I considered placing require calls wherever these faces are used, but there are several such instances and no clean way of covering them all. I would rather not put the require call in the transformer, for instance.

The second commit optimises the aforementioned transformer ever so slightly.

add-face-text-property is both more flexible and slightly more
performant than set-text-properties on the author's machine.
Copy link

abo-abo commented Oct 31, 2017


@basil-conto basil-conto deleted the compile-faces branch October 31, 2017 21:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet

Successfully merging this pull request may close these issues.

None yet

2 participants