mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-10-13 21:13:04 +00:00
Make initial selection for drop-down. Thanks Brandon Moore.
This commit is contained in:
parent
84ac5bd613
commit
a01b5eb76c
@ -1820,7 +1820,7 @@ handle the end-of-buffer error fired in it by calling
|
||||
(save-window-excursion
|
||||
(unwind-protect
|
||||
(let ((candidate-count (length candidates))
|
||||
done key selidx)
|
||||
done key (selidx 0))
|
||||
(while (not done)
|
||||
(unless (dropdown-list-at-point candidates selidx)
|
||||
(switch-to-buffer (setq temp-buffer (get-buffer-create "*selection*"))
|
||||
|
Loading…
x
Reference in New Issue
Block a user