[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#16226: [patch] icomplete can't display completions on initial displa
From: |
Stefan Monnier |
Subject: |
bug#16226: [patch] icomplete can't display completions on initial display |
Date: |
Mon, 23 Dec 2013 22:32:14 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
> +(defcustom icomplete-show-matches-on-no-input t
> + "When non-nil, show completions when first prompting for input."
> + :type 'boolean
> + :version "24.4"
> + :group 'icomplete)
The ":group 'icomplete" is redundant (I know it's there in the other
defcustoms, and yes, it's also redundant there).
> + (if (and (or (> (icomplete--field-end) (icomplete--field-beg))
> + (and icomplete-show-matches-on-no-input
> + (= (icomplete--field-end) (icomplete--field-beg))))
The (= (icomplete--field-end) (icomplete--field-beg)) condition is
redundant as well. Other than that, please install it.
Stefan