summaryrefslogtreecommitdiff
path: root/.dir-locals.el
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2018-07-13 21:23:41 +0200
committerPeter Eisentraut <peter_e@gmx.net>2018-07-13 21:23:41 +0200
commit333224c99ed107a4e73dc7768879c2a37c6f99ab (patch)
tree4abef26efd75ea53d2d52383704d5f202a8bc7dc /.dir-locals.el
parent4984784f836a061985b356c52253b5d83a0cbe65 (diff)
downloadpostgresql-333224c99ed107a4e73dc7768879c2a37c6f99ab.tar.gz
Update documentation editor setup instructions
Now that the documentation sources are in XML rather than SGML, some of the documentation about the editor, or more specifically Emacs, setup needs updating. The updated instructions recommend using nxml-mode, which works mostly out of the box, with some small tweaks in emacs.samples and .dir-locals.el. Also remove some obsolete stuff in .dir-locals.el. I did, however, leave the sgml-mode settings in there so that someone using Emacs without emacs.samples gets those settings when editing a *.sgml file.
Diffstat (limited to '.dir-locals.el')
-rw-r--r--.dir-locals.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/.dir-locals.el b/.dir-locals.el
index 9525d6b604..eff4671ef8 100644
--- a/.dir-locals.el
+++ b/.dir-locals.el
@@ -5,8 +5,8 @@
(fill-column . 78)
(indent-tabs-mode . t)
(tab-width . 4)))
- (dsssl-mode . ((indent-tabs-mode . nil)))
- (nxml-mode . ((indent-tabs-mode . nil)))
+ (nxml-mode . ((fill-column . 78)
+ (indent-tabs-mode . nil)))
(perl-mode . ((perl-indent-level . 4)
(perl-continued-statement-offset . 2)
(perl-continued-brace-offset . 4)