From 056d3050ebecdcfa8f0cdd353a925e58167ac867 Mon Sep 17 00:00:00 2001 From: Yuchen Pei Date: Thu, 23 May 2024 21:40:33 +1000 Subject: [emacs] c++ config tempel template for #ifdef block --- mariadb-server/sql/.dir-locals.el | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'mariadb-server') diff --git a/mariadb-server/sql/.dir-locals.el b/mariadb-server/sql/.dir-locals.el index 4093b3a..2daa20a 100644 --- a/mariadb-server/sql/.dir-locals.el +++ b/mariadb-server/sql/.dir-locals.el @@ -5,6 +5,11 @@ (c-offsets-alist . ( (inline-open . 0) + (substatement . +) + (statement-block-intro . +) + (arglist-cont-nonempty c-lineup-gcc-asm-reg c-lineup-arglist) + (inclass . +) + (defun-block-intro . +) )) (comment-start . "/* ") (comment-end . " */") @@ -17,6 +22,10 @@ (c-offsets-alist . ( (inline-open . 0) + (substatement . +) + (statement-block-intro . +) + (arglist-cont-nonempty c-lineup-gcc-asm-reg c-lineup-arglist) + (inclass . +) )) (comment-start . "/* ") (comment-end . " */") -- cgit v1.2.3