Created
June 19, 2012 18:03
-
-
Save abicky/2955604 to your computer and use it in GitHub Desktop.
patch for auto-complete.el (fix a bug that ac-auto-start is ignored)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git auto-complete.el auto-complete.el | |
index 286c2d4..7a7b418 100644 | |
--- auto-complete.el | |
+++ auto-complete.el | |
@@ -841,7 +841,8 @@ You can not use it in source definition like (prefix . `NAME')." | |
(eval prefix)))) | |
(if (and point | |
(integerp req) | |
- (< (- current point) req)) | |
+ (< (- current point) | |
+ (or (and requires (max req requires)) req))) | |
(setq point nil)) | |
(if point | |
(setq prefix-def prefix)))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment