Function: dictionary-set-dictionary

dictionary-set-dictionary is a byte-compiled function defined in dictionary.el.gz.

Signature

(dictionary-set-dictionary PARAM &optional MORE)

Documentation

Select the dictionary which is the car of PARAM as new default.

Source Code

;; Defined in /usr/src/emacs/lisp/net/dictionary.el.gz
(defun dictionary-set-dictionary (param &optional more)
  "Select the dictionary which is the car of PARAM as new default."
  (if more
      (dictionary-display-more-info param)
    (let ((dictionary (car param)))
      (setq dictionary-default-dictionary dictionary)
      (dictionary-restore-state)
      (message "Dictionary %s has been selected" dictionary))))