mirror of https://github.com/tLDP/LDP
Spell check for emacs.
This commit is contained in:
parent
294f69f3f9
commit
f04c57c0b7
|
@ -189,4 +189,24 @@
|
|||
</itemizedlist>
|
||||
</section>
|
||||
|
||||
<section id="emacs-spell">
|
||||
<title>Spell Checking in Emacs</title>
|
||||
|
||||
<para>
|
||||
Emacs can be configured to use <application>aspell</application>
|
||||
by adding the following to your <filename>~/.emacs</filename> file.
|
||||
Thanks to <ulink url="http://www.ertius.org">Rob Weir</ulink> for
|
||||
this configuration information.
|
||||
</para>
|
||||
|
||||
<programlisting>
|
||||
;; Use aspell
|
||||
(setq-default ispell-program-name "aspell")
|
||||
;;Setup some dictionary languages
|
||||
(setq ispell-dictionary "british")
|
||||
(setq flyspell-default-dictionary "british")
|
||||
</programlisting>
|
||||
|
||||
</section>
|
||||
|
||||
</section>
|
||||
|
|
Loading…
Reference in New Issue