Variable: ispell-local-dictionary

ispell-local-dictionary is a customizable and buffer-local variable defined in ispell.el.gz.

Documentation

If non-nil, the dictionary to be used for Ispell commands in this buffer.

The value must be a string dictionary name, or nil, which means use the global setting in ispell-dictionary. Dictionary names are defined in ispell-local-dictionary-alist and ispell-dictionary-alist.

Setting ispell-local-dictionary to a value has the same effect as calling M-x ispell-change-dictionary (ispell-change-dictionary) with that value. This variable is automatically set when defined in the file with either ispell-dictionary-keyword or the Local Variable syntax.

View in manual

Source Code

;; Defined in /usr/src/emacs/lisp/textmodes/ispell.el.gz
(defcustom ispell-local-dictionary nil
  "If non-nil, the dictionary to be used for Ispell commands in this buffer.
The value must be a string dictionary name,
or nil, which means use the global setting in `ispell-dictionary'.
Dictionary names are defined in `ispell-local-dictionary-alist'
and `ispell-dictionary-alist'.

Setting `ispell-local-dictionary' to a value has the same effect as
calling \\[ispell-change-dictionary] with that value.  This variable
is automatically set when defined in the file with either
`ispell-dictionary-keyword' or the Local Variable syntax."
  :type '(choice string
                 (const :tag "default" nil))
  :local t)