File: README.md

package info (click to toggle)
auto-dictionary-mode 1.1-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 120 kB
  • sloc: lisp: 613; makefile: 2
file content (24 lines) | stat: -rw-r--r-- 901 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
auto-dictionary-mode
====================

An automatic dictionary switcher for Emacs spell checking

[![Build Status](https://travis-ci.org/nschum/auto-dictionary-mode.png?branch=master)](https://travis-ci.org/nschum/auto-dictionary-mode)

Add the following to your .emacs file:

    (require 'auto-dictionary)
    (add-hook 'flyspell-mode-hook (lambda () (auto-dictionary-mode 1)))

Then just type.  When you stop for a few moments `auto-dictionary-mode' will
start evaluating the content.

You can also force a check using `adict-guess-dictionary`, whether or not
`auto-dictionary-mode` is enabled.

If you're unhappy with the results, call `adict-change-dictionary` to
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.