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 <mwlucas@blackhelicopters.org>, and keramida
This commit is contained in:
parent
f44fa9bcc0
commit
b98392cee3
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=11128
1 changed files with 16 additions and 1 deletions
|
@ -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$
|
||||
-->
|
||||
|
||||
<chapter id="psgml-mode">
|
||||
|
@ -134,6 +134,21 @@
|
|||
|
||||
<para>Doubtless there are other useful functions of this mode, but those are
|
||||
the ones I use most often.</para>
|
||||
|
||||
<para>You can also use the following entries in
|
||||
<filename>.emacs</filename> to set proper spacing, indentation,
|
||||
and column width for working with the Documentation Project.</para>
|
||||
|
||||
<programlisting>
|
||||
(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)))
|
||||
</programlisting>
|
||||
|
||||
</chapter>
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue