Browse Source

update ilookup-alist

pull/1/head
10sr 11 years ago
parent
commit
897a14542b
1 changed files with 13 additions and 1 deletions
  1. +13
    -1
      emacs.el

+ 13
- 1
emacs.el View File

@@ -2419,9 +2419,21 @@ result for that word.")
(format "sdcv -n -u dictd_www.dict.org_gcide '%s'" (format "sdcv -n -u dictd_www.dict.org_gcide '%s'"
word)))) word))))
("ja" . (lambda (word) ("ja" . (lambda (word)
(shell-command-to-string
(shell-command-to-string
(format "sdcv -n -u EJ-GENE95 '%s'"
word))))
("jaj" . (lambda (word)
(shell-command-to-string
(format "sdcv -n -u jmdict-en-ja '%s'" (format "sdcv -n -u jmdict-en-ja '%s'"
word)))) word))))
("jag" . (lambda (word)
(with-temp-buffer
(insert (shell-command-to-string
(format "sdcv -n -u 'Genius English-Japanese' '%s'"
word)))
(html2text)
(buffer-substring (point-min)
(point-max)))))
("alc" . (lambda (word) ("alc" . (lambda (word)
(shell-command-to-string (shell-command-to-string
(format "alc '%s' | head -n 20" (format "alc '%s' | head -n 20"


Loading…
Cancel
Save