13.2. Emacs
Prev | Chapter 13. Editor Configuration | Next

## 13.2. Emacs

Install from `editors/emacs` or `editors/xemacs`.

Edit `~/.emacs`, adding these lines:

(defun local-sgml-mode-hook (setq fill-column 70 indent-tabs-mode nil next-line-add-newlines nil standard-indent 4 sgml-indent-data t) (auto-fill-mode t) (setq sgml-catalog-files '("/usr/local/share/xml/catalog"))) (add-hook 'psgml-mode-hook '(lambda () (local-psgml-mode-hook)))

Prev | Up | Next
Chapter 13. Editor Configuration | Home | 13.3. nano

All FreeBSD documents are available for download at http://ftp.FreeBSD.org/pub/FreeBSD/doc/

Questions that are not answered by the documentation may be sent to <freebsd-questions@FreeBSD.org>.
Send questions about this document to <freebsd-doc@FreeBSD.org>.