Update emacs configuration.
Submitted by: Noam Postavsky <npostavs@users.sourceforge.net>
This commit is contained in:
parent
1bef599137
commit
6cb3b6ed01
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=46952
1 changed files with 9 additions and 10 deletions
|
|
@ -108,16 +108,15 @@ endfunction " Set_SGML()</programlisting>
|
|||
<para>Edit <filename>~/.emacs</filename>, adding these
|
||||
lines:</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
|
||||
'(lambda () (local-psgml-mode-hook)))</programlisting>
|
||||
<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>
|
||||
</sect1>
|
||||
|
||||
<sect1 xml:id="editor-config-nano">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue