Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit415f5e1

Browse files
committed
Add fill-column setting to emacs example configurations
This matches the maximum line length that pgindent uses.
1 parent9e9b9ac commit415f5e1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

‎src/tools/editors/emacs.samples

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
(setq-default tab-width 4)
2929
(c-set-style "bsd") ; set c-basic-offset to 4, plus other stuff
3030
(c-set-offset 'case-label '+) ; tweak case indent to match PG custom
31+
(setq fill-column 79) ; matches what pgindent does
3132
(setq indent-tabs-mode t)) ; make sure we keep tabs when indenting
3233

3334

@@ -38,6 +39,7 @@
3839

3940
(c-add-style "pgsql"
4041
'("bsd"
42+
(fill-column . 79)
4143
(indent-tabs-mode . t)
4244
(c-basic-offset . 4)
4345
(tab-width . 4)
@@ -71,6 +73,7 @@
7173
(setq c-basic-offset 4)
7274
(setq tab-width 4)
7375
(c-set-offset 'case-label '+)
76+
(setq fill-column 79)
7477
(setq indent-tabs-mode t)
7578
)
7679
))))

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp