[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#17165: 24.4.50; icomplete-exhibit: (wrong-type-argument number-or-ma
From: |
Lars Ingebrigtsen |
Subject: |
bug#17165: 24.4.50; icomplete-exhibit: (wrong-type-argument number-or-marker-p nil) |
Date: |
Fri, 29 Apr 2016 21:52:37 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) |
Drew Adams <drew.adams@oracle.com> writes:
> I have some code that does this:
>
> (when (and (featurep 'icomplete)
> (natnump icicle-icomplete-mode-max-candidates))
> (if (< nb-cands icicle-icomplete-mode-max-candidates)
> (if (not icicle-last-icomplete-mode-value)
> (icomplete-mode -1)
> (icomplete-mode 1)
> (icomplete-exhibit)) ; <==========
> (icomplete-tidy)
> (icomplete-mode -1)))
>
> Once in a while I have seen this wrong-type-argument error. I suspect,
> but I do not know, that it comes from this code in `icomplete-exhibit':
>
> (if (and (or icomplete-show-matches-on-no-input
> (> (icomplete--field-end) (icomplete--field-beg)))
> ...
Do you have a recipe for this bug?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
- bug#17165: 24.4.50; icomplete-exhibit: (wrong-type-argument number-or-marker-p nil),
Lars Ingebrigtsen <=