Created
February 25, 2013 11:56
-
-
Save llibra/5029347 to your computer and use it in GitHub Desktop.
A patch for overlay support of ac-disable-faces.
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
--- /cygdrive/c/Emacs/site-lisp/auto-complete/auto-complete.el 2013-02-10 21:25:46.000000000 +0900 | |
+++ auto-complete.el 2013-02-25 20:36:40.780375000 +0900 | |
@@ -1619,7 +1619,7 @@ | |
;;;; Auto complete mode | |
(defun ac-cursor-on-diable-face-p (&optional point) | |
- (memq (get-text-property (or point (point)) 'face) ac-disable-faces)) | |
+ (memq (get-char-property (or point (point)) 'face) ac-disable-faces)) | |
(defun ac-trigger-command-p (command) | |
"Return non-nil if `COMMAND' is a trigger command." |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment