diff options
author | shige <shige@FreeBSD.org> | 2000-01-19 21:29:39 +0800 |
---|---|---|
committer | shige <shige@FreeBSD.org> | 2000-01-19 21:29:39 +0800 |
commit | be813a309d9c15662ab25099763db7546e332909 (patch) | |
tree | 40bb615b4979623f46193567e05688014ab00959 /japanese/skk10-elisp-emacs20 | |
parent | 7bdb5a3bcad4b36ed1b788cdbece0dedeb08744e (diff) | |
download | freebsd-ports-gnome-be813a309d9c15662ab25099763db7546e332909.tar.gz freebsd-ports-gnome-be813a309d9c15662ab25099763db7546e332909.tar.zst freebsd-ports-gnome-be813a309d9c15662ab25099763db7546e332909.zip |
Add skk-startup elisp file.
Diffstat (limited to 'japanese/skk10-elisp-emacs20')
-rw-r--r-- | japanese/skk10-elisp-emacs20/distinfo | 2 | ||||
-rw-r--r-- | japanese/skk10-elisp-emacs20/files/skk-startup.el | 33 |
2 files changed, 34 insertions, 1 deletions
diff --git a/japanese/skk10-elisp-emacs20/distinfo b/japanese/skk10-elisp-emacs20/distinfo index abfc7b22f33f..0d05a2a476c3 100644 --- a/japanese/skk10-elisp-emacs20/distinfo +++ b/japanese/skk10-elisp-emacs20/distinfo @@ -1 +1 @@ -MD5 (skk10.56.tar.gz) = 4e54d54a2a204be331c6203d5881b63f +MD5 (skk10.57.tar.gz) = b8c3170f35234dfeee8a9332be988eec diff --git a/japanese/skk10-elisp-emacs20/files/skk-startup.el b/japanese/skk10-elisp-emacs20/files/skk-startup.el new file mode 100644 index 000000000000..f4a0ae717dd6 --- /dev/null +++ b/japanese/skk10-elisp-emacs20/files/skk-startup.el @@ -0,0 +1,33 @@ +;; +;; @(#)skk-startup.el -- skk startup elisp file. -- shige@FreeBSD.ORG +;; + +;; keybindings +(global-set-key "\C-x\C-j" 'skk-mode) +(global-set-key "\C-xt" 'skk-tutorial) + +;; autoloads +(autoload 'skk-mode "skk" nil t) +(autoload 'skk-tutorial "skk-tut" nil t) +(autoload 'skk-check-jisyo "skk-tools" nil t) +(autoload 'skk-merge "skk-tools" nil t) +(autoload 'skk-diff "skk-tools" nil t) +(autoload 'skk-isearch-mode-setup "skk-isearch" nil t) +(autoload 'skk-isearch-mode-cleanup "skk-isearch" nil t) + +;; addhooks +(add-hook 'isearch-mode-hook + (function + (lambda () + (and (boundp 'skk-mode) skk-mode (skk-isearch-mode-setup)) + ))) +(add-hook 'isearch-mode-end-hook + (function + (lambda () + (and (boundp 'skk-mode) skk-mode + (skk-isearch-mode-cleanup) + (skk-set-cursor-color-properly)) + ))) + +;; provide +(provide 'skk-startup) |