elp-revive / auto-highlight-symbol

Automatic highlighting current symbol minor mode.
GNU General Public License v3.0
52 stars 13 forks source link

Define variable to highlight current window only #14

Closed bgwines closed 3 years ago

bgwines commented 3 years ago

I believe before 1.61 only the current window was highlighted: https://github.com/jcs-elpa/auto-highlight-symbol/commit/b3674dd553e49a52f9a0ebb2085446ac9ac7b7c4#diff-e7a9435d360fadbeb259c0d4db30503bbaf19ae209f140595f61ac60279d9ba6R942

This PR introduces a way to restore that ability, but preserves the 1.61 behavior as the default.

No pressure to adopt this, of course, if this isn't the direction you want your package to go <3 I'm totally happy to maintain a fork for myself since I understand my use-cases may be a bit different from your other users!