Permalink
Browse files

s/ac-minimum-candidates-len/ac-candidate-menu-min

  • Loading branch information...
1 parent eccf7e9 commit b06f4a430fe2e5201df1a6357dc360ab6601e190 @samaaron committed Oct 27, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 auto-complete.el
View
@@ -295,7 +295,7 @@ a prefix doen't contain any upper case letters."
:type 'boolean
:group 'auto-complete)
-(defcustom ac-minimum-candidates-len 1
+(defcustom ac-candidate-menu-min 1
"Number of candidates required to display menu"
:type 'integer
:group 'auto-complete)
@@ -1085,7 +1085,7 @@ You can not use it in source definition like (prefix . `NAME')."
(ac-inline-update))
(popup-set-list ac-menu ac-candidates)
(if (and (not ac-fuzzy-enable)
- (<= (length ac-candidates) ac-minimum-candidates-len))
+ (<= (length ac-candidates) ac-candidate-menu-min))
(popup-hide ac-menu)
(if ac-show-menu
(popup-draw ac-menu))))

0 comments on commit b06f4a4

Please sign in to comment.