Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Momjian2000-06-10 01:55:37 +0000
committerBruce Momjian2000-06-10 01:55:37 +0000
commit322d65c1a64b2e28b20bf79fb247d5c5e549ce4a (patch)
treedcd3a1a8c27f8521ef0bf5bf450b0ce2cb37c9df /doc/src/FAQ_DEV.html
parent7bd58b471205f6abb519d731cb1af55c1d78775d (diff)
UPdate developers faq
Diffstat (limited to 'doc/src/FAQ_DEV.html')
-rw-r--r--doc/src/FAQ_DEV.html19
1 files changed, 9 insertions, 10 deletions
diff --git a/doc/src/FAQ_DEV.html b/doc/src/FAQ_DEV.html
index 99c2d6c0673..440c3f8c435 100644
--- a/doc/src/FAQ_DEV.html
+++ b/doc/src/FAQ_DEV.html
@@ -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):