gonewest818 / dimmer.el

Interactively highlight which buffer is active by dimming the others.
GNU General Public License v3.0
267 stars 14 forks source link

Exclude buffers from dimming based on buffer-predicates #28

Closed hkjels closed 4 years ago

hkjels commented 4 years ago

Also, renamed dimmer-exclusion-regexp-list to dimmer-buffer-exclusion-regexps for consistancy

hkjels commented 4 years ago

These all makes sense, I'll address them when I find the time

hkjels commented 4 years ago

Updated the PR

gonewest818 commented 4 years ago

I pushed a few tweaks to get CI to pass... can you test and make sure I didn't break anything for you?

hkjels commented 4 years ago

Works like a charm :)

gonewest818 commented 4 years ago

Merging now. Watch out for the last commit I pushed... it "inverts" the logic for the dimmer-buffer-exclusion-predicates to be correct and consistent with the documentation.

With this last commit you need to change your init.el and do this:

(push (lambda (buf) (not (buffer-file-name buf)))
      'dimmer-buffer-exclusion-predicates)