dired-hacks icon indicating copy to clipboard operation
dired-hacks copied to clipboard

[dired-subtree] dired-subtree-insert caused clickable area to extend to entire line

Open jusw85 opened this issue 4 years ago • 1 comments

  1. Before dired-subtree-insert Screenshot from 2020-03-26 20-36-32
  2. After dired-subtree-insert Screenshot from 2020-03-26 20-37-06
  3. After dired-subtree-remove Screenshot from 2020-03-26 20-37-17

After dired-subtree-insert, clicking anywhere in the empty space on the right of the file will have the same effect as clicking directly on the file itself.

I fixed it by changing the following line to (insert "\n").

https://github.com/Fuco1/dired-hacks/blob/f49a8bbf95f70671a74a24f7f4de453b2686be46/dired-subtree.el#L498

jusw85 avatar Mar 26 '20 12:03 jusw85