summaryrefslogtreecommitdiff
path: root/emacs/personal-lisp/general-text.el
diff options
context:
space:
mode:
Diffstat (limited to 'emacs/personal-lisp/general-text.el')
-rw-r--r--emacs/personal-lisp/general-text.el23
1 files changed, 0 insertions, 23 deletions
diff --git a/emacs/personal-lisp/general-text.el b/emacs/personal-lisp/general-text.el
deleted file mode 100644
index bea3fc9..0000000
--- a/emacs/personal-lisp/general-text.el
+++ /dev/null
@@ -1,23 +0,0 @@
-;; General stuff for editing all text, but particularly prose
-
-;; spelling
-(require 'spell-fu)
-(setq ispell-personal-dictionary "/home/tmu/.aspell.en.pws")
-(add-hook 'text-mode-hook (lambda () (spell-fu-mode 1)))
-
-;; dictionaries
-(define-prefix-command 'dict-map)
-(global-set-key (kbd "M-l") 'dict-map)
-(define-keymap :full nil
- :parent nil
- :suppress nil
- :keymap nil
- :name "dict-map"
- :prefix 'dict-map
- (kbd "w") 'sdcv-search-input
- (kbd "c") (lambda () (interactive)
- (activate-input-method 'pyim)
- (sdcv-search-input (read-from-minibuffer "Chinese Word: "
- nil nil nil
- nil nil t))
- (activate-input-method nil)))