[calls] dir-locals: Treat more G_* macros as including a semicolon
- From: Evangelos Ribeiro Tzaras <devrtz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [calls] dir-locals: Treat more G_* macros as including a semicolon
- Date: Tue, 20 Jul 2021 10:33:27 +0000 (UTC)
commit 10a204654916d1dae49042f91ef695c68c3318ea
Author: Evangelos Ribeiro Tzaras <evangelos tzaras puri sm>
Date: Fri Jul 9 17:47:39 2021 +0200
dir-locals: Treat more G_* macros as including a semicolon
This makes emacs not insist on indendation.
.dir-locals.el | 13 ++++++++++---
1 file changed, 10 insertions(+), 3 deletions(-)
---
diff --git a/.dir-locals.el b/.dir-locals.el
index 4920a14c..8d530046 100644
--- a/.dir-locals.el
+++ b/.dir-locals.el
@@ -2,6 +2,13 @@
;; thanks to Mohammed Sadiq, see https://source.puri.sm/Librem5/calls/-/merge_requests/332#note_159469
(c-mode . ((c-macro-names-with-semicolon
. ("G_BEGIN_DECLS" "G_END_DECLS" "G_DECLARE_FINAL_TYPE" "G_DEFINE_QUARK"
- "G_DECLARE_DERIVABLE_TYPE" "G_DECLARE_INTERFACE" "G_DEFINE_TYPE"
- "G_DEFINE_TYPE_WITH_PRIVATE" "G_DEFINE_ABSTRACT_TYPE"
- "G_DEFINE_ABSTRACT_TYPE_WITH_PRIVATE")))))
+ "G_DECLARE_DERIVABLE_TYPE" "G_DECLARE_INTERFACE"
+ "G_DEFINE_ABSTRACT_TYPE" "G_DEFINE_ABSTRACT_TYPE_WITH_CODE"
+ "G_DEFINE_ABSTRACT_TYPE_WITH_PRIVATE"
+ "G_DEFINE_AUTO_CLEANUP_CLEAR_FUNC" "G_DEFINE_AUTO_CLEANUP_FREE_FUNC"
+ "G_DEFINE_AUTOPTR_CLEANUP_FUNC"
+ "G_DEFINE_DYNAMIC_TYPE" "G_DEFINE_DYNAMIC_TYPE_EXTENDED"
+ "G_DEFINE_INTERFACE" "G_DEFINE_INTERFACE_WITH_CODE"
+ "G_DEFINE_TYPE" "G_DEFINE_TYPE_EXTENDED"
+ "G_DEFINE_TYPE_WITH_CODE" "G_DEFINE_TYPE_WITH_PRIVATE"
+ )))))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]