Function: dictionary-define-word
dictionary-define-word is a byte-compiled function defined in
dictionary.el.gz.
Signature
(dictionary-define-word WORD DICTIONARY)
Documentation
Return the definition of WORD in DICTIONARY, or nil if not found.
Source Code
;; Defined in /usr/src/emacs/lisp/net/dictionary.el.gz
(defun dictionary-define-word (word dictionary)
"Return the definition of WORD in DICTIONARY, or nil if not found."
(dictionary-send-command
(format "define %s \"%s\"" dictionary word))
(when (and (= (read (dictionary-read-reply)) 150)
(= (read (dictionary-read-reply)) 151))
(dictionary-read-answer)))