Browse Source

add alc function

pull/1/head
10sr 10 years ago
parent
commit
d28b257360
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      emacs.el

+ 4
- 0
emacs.el View File

@@ -2422,6 +2422,10 @@ result for that word.")
(shell-command-to-string (shell-command-to-string
(format "sdcv -n -u jmdict-en-ja '%s'" (format "sdcv -n -u jmdict-en-ja '%s'"
word)))) word))))
("alc" . (lambda (word)
(shell-command-to-string
(format "alc '%s' | head -n 20"
word))))
)) ))


(setq ilookup-default "ja") (setq ilookup-default "ja")


Loading…
Cancel
Save