branch: master
commit 180cd98e42ac0aaf78aaf48ece68173a48eae941
Author: Daiki Ueno <[email protected]>
Commit: Daiki Ueno <[email protected]>

    align: Ignore some G_* symbols
---
 gobject-align.el |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/gobject-align.el b/gobject-align.el
index be25a10..3392233 100644
--- a/gobject-align.el
+++ b/gobject-align.el
@@ -272,7 +272,8 @@
            identifier-end)
        (goto-char (point-min))
        (c-forward-syntactic-ws)
-       (unless (looking-at "typedef\\|#")
+       (unless (looking-at
+                
"typedef\\|#\\|G_DECLARE_\\(?:\\(?:FINAL\\|DECLARATIVE\\)_TYPE\\|INTERFACE\\)")
          (while (and (not (eobp))
                      (not (eq (char-after) ?\()))
            (c-forward-token-2)

Reply via email to