tecosaur / screenshot

Mirror of https://git.tecosaur.net/tec/screenshot.el
GNU General Public License v3.0
228 stars 14 forks source link

Fix bug: No key for screenshot--set-line-numbers-p #14

Closed yangsheng6810 closed 2 years ago

yangsheng6810 commented 2 years ago

Use eval-and-compile instead of eval-when-compile to ensure the code is also run when loaded. Addresses #11

tecosaur commented 2 years ago

Wow, somehow I completely missed the notification for this. Sorry about that.

In other news, usao helped me find a fix for this which I'll be pushing later today, and I think I prefer it to this PR.

Thanks for the help though! :sweat_smile: