spacemacs/layers/+distributions
Ben 91af298090
[spacemacs-bootstrap] Remove whitespace from kill ring. (#15634)
When `dotspacemacs-enable-paste-transient-state` is on, there exists a minor
annoyance that deleted whitespaces appear in the kill ring. This requires an
extra C-j/C-k to bypass the noise.

This commit uses a advice function to `kill-new` to prevent text with only
whitespaces from entering kill ring.

Credit: https://stackoverflow.com/questions/12102554/emacs-skip-whitespace-kills

Co-authored-by: Lucius Hu <1222865+lebensterben@users.noreply.github.com>
Co-authored-by: Lucius Hu <lebensterben@users.noreply.github.com>
2022-07-15 20:22:19 +00:00
..
spacemacs chore: update copyright headers to 2022 2022-06-03 17:32:20 +02:00
spacemacs-base chore: update copyright headers to 2022 2022-06-03 17:32:20 +02:00
spacemacs-bootstrap [spacemacs-bootstrap] Remove whitespace from kill ring. (#15634) 2022-07-15 20:22:19 +00:00