1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-27 12:41:57 +03:00

UPdate developers faq

This commit is contained in:
Bruce Momjian
2000-06-10 01:55:37 +00:00
parent 7bd58b4712
commit 322d65c1a6
2 changed files with 20 additions and 20 deletions

View File

@ -7,7 +7,7 @@
Developer's Frequently Asked Questions (FAQ) for PostgreSQL
</H1>
<P>
Last updated: Fri Dec 24 11:43:42 EST 1999
Last updated: Fri Jun 9 21:54:54 EDT 2000
<P>
Current maintainer: Bruce Momjian (<a
href="mailto:pgman@candle.pha.pa.us">pgman@candle.pha.pa.us</a>)<BR>
@ -113,15 +113,14 @@ tabs as four spaces:
M-x set-variable tab-width
or
; Cmd to set tab stops &etc for working with PostgreSQL code
(defun pgsql-mode ()
"Set PostgreSQL C indenting conventions in current buffer."
(interactive)
(c-mode) ; necessary to make c-set-offset local!
(setq tab-width 4) ; already buffer-local
; (setq comment-column 48) ; already buffer-local
(c-set-style "bsd")
(c-set-offset 'case-label '+)
)
(c-add-style "pgsql"
'("bsd"
(indent-tabs-mode . t)
(c-basic-offset . 4)
(tab-width . 4)
(c-offsets-alist .
((case-label . +))))
t) ; t = set this mode on
and add this to your autoload list (modify file path in macro):