Index: en_US.ISO8859-1/books/fdp-primer/editor-config/chapter.xml
===================================================================
--- en_US.ISO8859-1/books/fdp-primer/editor-config/chapter.xml (revision 47209)
+++ en_US.ISO8859-1/books/fdp-primer/editor-config/chapter.xml (working copy)
@@ -105,18 +105,10 @@
editors/emacs
or editors/xemacs.
- Edit ~/.emacs, adding these
- lines:
+ Edit ~/.emacs, adding this
+ line:
- (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 #'local-psgml-mode-hook)
+ (add-hook 'nxml-mode-hook 'turn-on-auto-fill)