Skip to content

Commit

Permalink
Fix byte-compilation warning on Emacs --without-x
Browse files Browse the repository at this point in the history
  • Loading branch information
akater committed Jul 30, 2021
1 parent 031d4d0 commit 4c09ef1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ivy.el
Original file line number Diff line number Diff line change
Expand Up @@ -2984,6 +2984,9 @@ tries to ensure that it does not change depending on the number of candidates."
"Minibuffer setting for `truncate-lines'."
:type 'boolean)

(defvar mwheel-scroll-up-function)
(defvar mwheel-scroll-down-function)

(defun ivy--minibuffer-setup ()
"Setup ivy completion in the minibuffer."
(setq-local mwheel-scroll-up-function 'ivy-next-line)
Expand Down

0 comments on commit 4c09ef1

Please sign in to comment.