Advertisement
Guest User

Untitled

a guest
Apr 9th, 2020
274
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lisp 0.23 KB | None | 0 0
  1. (progn
  2.   (setq test-ivy-history '())
  3.   ;; Enter "a", hit enter
  4.   (ivy-completing-read
  5.    "Test: "
  6.    (list "ab" "bb")
  7.    nil 'require-match nil 'test-ivy-history (car test-ivy-history))
  8.   (equal test-ivy-history (list "a")))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement