selection-highlight-mode icon indicating copy to clipboard operation
selection-highlight-mode copied to clipboard

prevent highlighting a line that contains only spaces and line breaks

Open Artawower opened this issue 1 year ago • 0 comments

Hi. It's a bit annoying when selection-highlight-mode tries to highlight empty lines. This pull request is to add an optional boolean variable to control this behavior. The default value is nil for backward compatibility

Without selection-highlight-mode-disable-for-empty-line-p 2024-05-14_21-12

With (setq selection-highlight-mode-disable-for-empty-line-p t)

2024-05-14_21-16

Artawower avatar May 14 '24 17:05 Artawower