Created
June 23, 2013 05:11
-
-
Save yryozo/5843877 to your computer and use it in GitHub Desktop.
yc.el(Yet another canna client) での入力時に auto-complete と連携させるための設定
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
;; An advice for automatically starting auto-complete.el from yc.el(Yet another canna client). | |
;; | |
;; Note: This advice would be more useful when used with ac-ja.el. | |
;; <https://github.com/myuhe/ac-ja.el> | |
;; | |
;; Note: This code originated from the below web page. | |
;; <http://sheephead.homelinux.org/2011/10/11/6869/> | |
(eval-after-load "yc" | |
'(progn | |
(defadvice yc-kakutei (after ac-yc-kakutei last) | |
"yc-kakuteiの後にauto-complete-modeによる補完を実行するadvice" | |
(unless (minibufferp) | |
(ac-start))) | |
(ad-activate 'yc-kakutei))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment