svn commit: r47235 - head/en_US.ISO8859-1/books/fdp-primer/editor-config
Warren Block <[email protected]>
| Newsgroups | gmane.os.freebsd.devel.cvs.doc |
|---|---|
| Message-ID | <[email protected]> |
Author: wblock Date: Fri Aug 14 23:07:33 2015 New Revision: 47235 URL: https://svnweb.freebsd.org/changeset/doc/47235 Log: Update the emacs configuration. PR: 202303 Submitted by: Hoyoung Kim <[email protected]> Modified: head/en_US.ISO8859-1/books/fdp-primer/editor-config/chapter.xml Modified: head/en_US.ISO8859-1/books/fdp-primer/editor-config/chapter.xml ============================================================================== --- head/en_US.ISO8859-1/books/fdp-primer/editor-config/chapter.xml Fri Aug 14 18:34:28 2015 (r47234) +++ head/en_US.ISO8859-1/books/fdp-primer/editor-config/chapter.xml Fri Aug 14 23:07:33 2015 (r47235) @@ -105,18 +105,10 @@ endfunction " Set_SGML()</programlisting <package>editors/emacs</package> or <package>editors/xemacs</package>.</para> - <para>Edit <filename>~/.emacs</filename>, adding these - lines:</para> + <para>Edit <filename>~/.emacs</filename>, adding this + line:</para> - <programlisting>(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)</programlisting> + <programlisting>(add-hook 'nxml-mode-hook 'turn-on-auto-fill)</programlisting> </sect1> <sect1 xml:id="editor-config-nano"> _______________________________________________ [email protected] mailing list https://lists.freebsd.org/mailman/listinfo/svn-doc-all To unsubscribe, send any mail to "[email protected]"