From b98392cee3fd2caf5bf925440c2b4d83bd7fea36 Mon Sep 17 00:00:00 2001 From: Murray Stokely Date: Mon, 5 Nov 2001 07:13:36 +0000 Subject: [PATCH] By default, emacs doesn't set tab fillers and page width correctly for the docproj materials. This adds a sample .emacs entry to set this properly. PR: docs/31707 Submitted by: Michael Lucas , and keramida --- .../books/fdp-primer/psgml-mode/chapter.sgml | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/en_US.ISO8859-1/books/fdp-primer/psgml-mode/chapter.sgml b/en_US.ISO8859-1/books/fdp-primer/psgml-mode/chapter.sgml index 8abcde6496..c337054e1b 100644 --- a/en_US.ISO8859-1/books/fdp-primer/psgml-mode/chapter.sgml +++ b/en_US.ISO8859-1/books/fdp-primer/psgml-mode/chapter.sgml @@ -27,7 +27,7 @@ ANY WAY OUT OF THE USE OF THIS DOCUMENTATION, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - $FreeBSD: doc/en_US.ISO_8859-1/books/fdp-primer/psgml-mode/chapter.sgml,v 1.3 1999/09/06 06:52:41 peter Exp $ + $FreeBSD$ --> @@ -134,6 +134,21 @@ Doubtless there are other useful functions of this mode, but those are the ones I use most often. + + You can also use the following entries in + .emacs to set proper spacing, indentation, + and column width for working with the Documentation Project. + + + (setq sgml-mode-hook + '(lambda () + (setq fill-column 70 + indent-tabs-mode nil + next-line-add-newlines nil + standard-indent 2) + (auto-fill-mode t))) + +