diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 06:33:50 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 06:33:50 +0000 |
commit | fe39ffb8b90ae4e002ed73fe98617cd590abb467 (patch) | |
tree | b80e5956907d8aeaaffe4e4f0c068c0e6157ce8b /emacs-style | |
parent | Initial commit. (diff) | |
download | apache2-fe39ffb8b90ae4e002ed73fe98617cd590abb467.tar.xz apache2-fe39ffb8b90ae4e002ed73fe98617cd590abb467.zip |
Adding upstream version 2.4.56.upstream/2.4.56
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'emacs-style')
-rw-r--r-- | emacs-style | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/emacs-style b/emacs-style new file mode 100644 index 0000000..7ca4f40 --- /dev/null +++ b/emacs-style @@ -0,0 +1,12 @@ +(add-hook 'c-mode-hook + (function (lambda () + (c-set-offset 'inclass' ++) + (c-set-offset 'defun-block-intro' ++) + (c-set-offset 'statement-block-intro' ++) + (c-set-offset 'substatement' ++) + (c-set-offset 'brace-list-intro' ++) + (c-set-offset 'statement-case-intro' ++) + (c-set-offset 'inextern-lang' 0) + ))) +(setq c++-mode-hook c-mode-hook) +(setq-default indent-tabs-mode nil) |