Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,15 @@ change it and stop automatic checks.
You can use `adict-change-dictionary-hook` to hook into any of these changes,
or `adict-conditional-insert` to insert text (like signatures) that will
automatically conform to the language.

To limit the candidate languages when guessing which dictionary to use, add
something like the following to your Emacs config:
```elisp
(eval-after-load "auto-dictionary"
'(setq adict-dictionary-list
(mapcar 'adict--guess-dictionary-cons
'(("en" . "en")
("fr" . "fr")))))
```
Get the full list from `adict-dictionary-list` in auto-dictionary.el, or
alternatively use the Customize interface to do this.