Guest User

Untitled

a guest
Apr 9th, 2020
226
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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")))
RAW Paste Data