diff options
Diffstat (limited to 'app-emacs/yc/files')
-rw-r--r-- | app-emacs/yc/files/50yc-gentoo.el | 1 | ||||
-rw-r--r-- | app-emacs/yc/files/sample.dot.emacs | 12 | ||||
-rw-r--r-- | app-emacs/yc/files/sample.hosts.canna | 2 | ||||
-rw-r--r-- | app-emacs/yc/files/yc-5.2.1-emacs-26.patch | 11 |
4 files changed, 26 insertions, 0 deletions
diff --git a/app-emacs/yc/files/50yc-gentoo.el b/app-emacs/yc/files/50yc-gentoo.el new file mode 100644 index 000000000000..431f7e90ae73 --- /dev/null +++ b/app-emacs/yc/files/50yc-gentoo.el @@ -0,0 +1 @@ +(add-to-list 'load-path "@SITELISP@") diff --git a/app-emacs/yc/files/sample.dot.emacs b/app-emacs/yc/files/sample.dot.emacs new file mode 100644 index 000000000000..101532e704a6 --- /dev/null +++ b/app-emacs/yc/files/sample.dot.emacs @@ -0,0 +1,12 @@ +;;;; -*- mode: lisp-interaction; syntax: elisp; coding: iso-2022-7bit -*- + +;;;; Configuration for yc +(setq yc-server-host "unix") +;If you use inet socket service, enable the following line. +;(setq yc-server-host "localhost") +(setq yc-use-color t) +(if (eq window-system 'x) + (setq yc-use-fence nil) + (setq yc-use-fence t)) +(load "yc") +(global-yc-mode 1) diff --git a/app-emacs/yc/files/sample.hosts.canna b/app-emacs/yc/files/sample.hosts.canna new file mode 100644 index 000000000000..960d75f5266c --- /dev/null +++ b/app-emacs/yc/files/sample.hosts.canna @@ -0,0 +1,2 @@ +localhost +unix diff --git a/app-emacs/yc/files/yc-5.2.1-emacs-26.patch b/app-emacs/yc/files/yc-5.2.1-emacs-26.patch new file mode 100644 index 000000000000..19925c65c454 --- /dev/null +++ b/app-emacs/yc/files/yc-5.2.1-emacs-26.patch @@ -0,0 +1,11 @@ +--- a/yc.el ++++ b/yc.el +@@ -2071,7 +2071,7 @@ + ;; $BJ8@a$r;XDj$7$J$$>l9g!"8=:_$NJ8@a$,BP>]$H$J$k(B + ;; $BFI$_$r<hF@$7$?J8@a$O$=$NFI$_$r%-%c%C%7%e$9$k(B + ;; cut $B$,(B $BHs(Bnil $B$N>l9g!";XDjJ8@a0J9_$NFI$_$r:o=|$9$k(B +-(defun yc-yomi (&optional idx &optional cut) ++(defun yc-yomi (&optional idx cut) + (if (integerp idx) + (yc-put-bunsetsu-yomi idx (yc-get-bunsetsu-yomi idx cut) cut) + (yc-put-bunsetsu-yomi yc-mark (yc-get-bunsetsu-yomi yc-mark cut) cut))) |