Fix use of deprecated function avy--with-avy-keys

This commit is contained in:
km 2016-02-29 13:09:04 -05:00 committed by Eivind Fonn
parent 733434718d
commit 5ee38deeff
1 changed files with 4 additions and 4 deletions

View File

@ -56,10 +56,10 @@
(defun spacemacs/ace-buffer-links ()
"Ace jump to links in `spacemacs' buffer."
(interactive)
(let ((res (avy--with-avy-keys spacemacs/ace-buffer-links
(avy--process
(spacemacs//collect-spacemacs-buffer-links)
#'avy--overlay-pre))))
(let ((res (avy-with spacemacs/ace-buffer-links
(avy--process
(spacemacs//collect-spacemacs-buffer-links)
#'avy--overlay-pre))))
(when res
(goto-char (1+ res))
(widget-button-press (point))))))))