Commit 56fb890a authored by Peter Eisentraut's avatar Peter Eisentraut

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.
parent bc972072
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
(dsssl-mode . ((indent-tabs-mode . nil))) (dsssl-mode . ((indent-tabs-mode . nil)))
(nxml-mode . ((indent-tabs-mode . nil))) (nxml-mode . ((indent-tabs-mode . nil)))
(perl-mode . ((perl-indent-level . 4) (perl-mode . ((perl-indent-level . 4)
(perl-continued-statement-offset . 4) (perl-continued-statement-offset . 2)
(perl-continued-brace-offset . 4) (perl-continued-brace-offset . 4)
(perl-brace-offset . 0) (perl-brace-offset . 0)
(perl-brace-imaginary-offset . 0) (perl-brace-imaginary-offset . 0)
......
...@@ -48,7 +48,7 @@ ...@@ -48,7 +48,7 @@
(setq perl-brace-imaginary-offset 0) (setq perl-brace-imaginary-offset 0)
(setq perl-brace-offset 0) (setq perl-brace-offset 0)
(setq perl-continued-brace-offset 4) (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-indent-level 4)
(setq perl-label-offset -2) (setq perl-label-offset -2)
(setq indent-tabs-mode t) (setq indent-tabs-mode t)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment