Skip to content

Commit

Permalink
s/ac-minimum-candidates-len/ac-candidate-menu-min
Browse files Browse the repository at this point in the history
  • Loading branch information
samaaron committed Oct 27, 2012
1 parent eccf7e9 commit b06f4a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions auto-complete.el
Expand Up @@ -295,7 +295,7 @@ a prefix doen't contain any upper case letters."
:type 'boolean :type 'boolean
:group 'auto-complete) :group 'auto-complete)


(defcustom ac-minimum-candidates-len 1 (defcustom ac-candidate-menu-min 1
"Number of candidates required to display menu" "Number of candidates required to display menu"
:type 'integer :type 'integer
:group 'auto-complete) :group 'auto-complete)
Expand Down Expand Up @@ -1085,7 +1085,7 @@ You can not use it in source definition like (prefix . `NAME')."
(ac-inline-update)) (ac-inline-update))
(popup-set-list ac-menu ac-candidates) (popup-set-list ac-menu ac-candidates)
(if (and (not ac-fuzzy-enable) (if (and (not ac-fuzzy-enable)
(<= (length ac-candidates) ac-minimum-candidates-len)) (<= (length ac-candidates) ac-candidate-menu-min))
(popup-hide ac-menu) (popup-hide ac-menu)
(if ac-show-menu (if ac-show-menu
(popup-draw ac-menu)))) (popup-draw ac-menu))))
Expand Down

0 comments on commit b06f4a4

Please sign in to comment.