Fix use of deprecated function avy--with-avy-keys
This commit is contained in:
parent
733434718d
commit
5ee38deeff
|
@ -56,10 +56,10 @@
|
||||||
(defun spacemacs/ace-buffer-links ()
|
(defun spacemacs/ace-buffer-links ()
|
||||||
"Ace jump to links in `spacemacs' buffer."
|
"Ace jump to links in `spacemacs' buffer."
|
||||||
(interactive)
|
(interactive)
|
||||||
(let ((res (avy--with-avy-keys spacemacs/ace-buffer-links
|
(let ((res (avy-with spacemacs/ace-buffer-links
|
||||||
(avy--process
|
(avy--process
|
||||||
(spacemacs//collect-spacemacs-buffer-links)
|
(spacemacs//collect-spacemacs-buffer-links)
|
||||||
#'avy--overlay-pre))))
|
#'avy--overlay-pre))))
|
||||||
(when res
|
(when res
|
||||||
(goto-char (1+ res))
|
(goto-char (1+ res))
|
||||||
(widget-button-press (point))))))))
|
(widget-button-press (point))))))))
|
||||||
|
|
Loading…
Reference in a new issue