|
Sams Teach Yourself Emacs in 24 Hours |
|||||||||||||||||
|
Appendix A: Installing Functions and Packages from the CD |
|
||||||||||||||||
|
In Hour 11, "Editing Utilities," flyspell.el by Manuel Serrano is introduced. The on-the-fly spell-checking is described. This facility is located in the package flyspell.el. You can find it in the /opt/share/emacs-lisp/other/ directory. To install it, copy it to your lisp directory, and insert the following into your .emacs file:
(autoload 'flyspell-mode "flyspell" "On-the-fly spelling checking" t) (autoload 'global-flyspell-mode "flyspell" "On-the-fly spelling" t) </pre>
To enable it, press M-x and type flyspell-mode. If you want it enabled all the time (that is, in all your buffers), you may insert the following into your .emacs file:
(global-flyspell-mode)
To use flyspell.el under XEmacs, you need to copy ispell.el from the CD to either your lisp directory or to the installation directory of XEmacs.
|
Sams Teach Yourself Emacs in 24 Hours |
|||||||||||||||||
|
Appendix A: Installing Functions and Packages from the CD |
|
||||||||||||||||
|
© Copyright Macmillan USA. All rights reserved.