mirror of
https://github.com/abo-abo/avy.git
synced 2026-02-04 06:42:26 +00:00
avy.el (avy-goto-subword-1): Check char-after
When at `point-max', `char-after' returns nil. This can't be passed to `downcase'. Fixes #163
This commit is contained in:
4
avy.el
4
avy.el
@@ -1174,7 +1174,9 @@ The case of CHAR is ignored."
|
||||
(interactive (list (read-char "char: " t)
|
||||
current-prefix-arg))
|
||||
(avy-with avy-goto-subword-1
|
||||
(let ((char (downcase char)))
|
||||
(let ((char (downcase char)))
|
||||
(avy-goto-subword-0
|
||||
arg (lambda ()
|
||||
(and (char-after)
|
||||
(eq (downcase (char-after)) char)))))))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user