Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

`counsel--browse-history': "wrong-type-argument number-or-marker-p nil" #1148

Alexander-Shukaev opened this Issue Aug 9, 2017 · 1 comment


None yet
2 participants
Copy link

commented Aug 9, 2017

The following function,

(defun counsel--browse-history (elements)
  "Use Ivy to navigate through ELEMENTS."
  (setq ivy-completion-beg (point))
  (setq ivy-completion-end (point))
  (ivy-read "Symbol name: "
             (ring-elements elements))
            :action #'ivy-completion-in-region-action))

keeps throwing (wrong-type-argument number-or-marker-p nil) when elements is nil. Perhaps a more user-friendly error would be better.

@abo-abo abo-abo closed this in a5cd13b Aug 13, 2017


This comment has been minimized.

Copy link

commented Aug 13, 2017


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.