aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2018-04-23 11:44:31 -0400
committerPeter Eisentraut <peter_e@gmx.net>2018-04-23 11:44:31 -0400
commit56fb890ace8ac0ca955ae0803c580c2074f876f6 (patch)
tree4a65fbcbbe23238ed4cac30e530ef9d1d6d1d5d7 /src
parentbc972072a3bb77e51a7937b05d25b41ba96aa011 (diff)
downloadpostgresql-56fb890ace8ac0ca955ae0803c580c2074f876f6.tar.gz
postgresql-56fb890ace8ac0ca955ae0803c580c2074f876f6.zip
Make Emacs settings match perltidy configuration
Set Emacs's perl-continued-statement-offset to match perltidy's --continuation-indentation, which is 2 (not overridden in PostgreSQL's profile) rather than the 4 that Emacs uses by default.
Diffstat (limited to 'src')
-rw-r--r--src/tools/editors/emacs.samples2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/editors/emacs.samples b/src/tools/editors/emacs.samples
index d9cd47cef27..5f08c71dd18 100644
--- a/src/tools/editors/emacs.samples
+++ b/src/tools/editors/emacs.samples
@@ -48,7 +48,7 @@
(setq perl-brace-imaginary-offset 0)
(setq perl-brace-offset 0)
(setq perl-continued-brace-offset 4)
- (setq perl-continued-statement-offset 4)
+ (setq perl-continued-statement-offset 2)
(setq perl-indent-level 4)
(setq perl-label-offset -2)
(setq indent-tabs-mode t)