abo-abo / avy

Jump to things in Emacs tree-style
1.73k stars 110 forks source link

Safe guard in avy-goto-line-* commands #328

Open Inc0n opened 3 years ago

Inc0n commented 3 years ago

Added addition check for nil in avy-goto-line-above and avy-goto-line-below.

This is to prevent cancellation during these commands that will result in an error if debug-on-error is set to non-nil.

Note: There are some unintentional encoding changes (Control-M in lines 1333) that are most likely to be a result of directly editing in github.