Function: dictionary-new-search

dictionary-new-search is an interactive and byte-compiled function defined in dictionary.el.gz.

Signature

(dictionary-new-search ARGS &optional ALL)

Documentation

Save the current state and start a new search based on ARGS.

The parameter ARGS is a cons cell where car is the word to search and cdr is the dictionary where to search the word in.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/net/dictionary.el.gz
;; The normal search

(defun dictionary-new-search (args &optional all)
  "Save the current state and start a new search based on ARGS.
The parameter ARGS is a cons cell where car is the word to search
and cdr is the dictionary where to search the word in."
  (interactive)
  (dictionary-store-positions)
  (let ((word (car args))
	(dictionary (cdr args)))

    (if all
	(setq dictionary dictionary-default-dictionary))
    (dictionary-ensure-buffer)
    (dictionary-new-search-internal word dictionary 'dictionary-display-search-result)
    (dictionary-store-state 'dictionary-new-search-internal
			    (list word dictionary 'dictionary-display-search-result))))