]> code.delx.au - gnu-emacs-elpa/commitdiff
align: Ignore some G_* symbols
authorDaiki Ueno <ueno@gnu.org>
Sat, 16 Jan 2016 07:51:10 +0000 (16:51 +0900)
committerDaiki Ueno <ueno@gnu.org>
Sat, 16 Jan 2016 07:51:10 +0000 (16:51 +0900)
gobject-align.el

index be25a100ab1a847c001176941a1edc4cfe8628c8..33922332e0720663f4ec25211ee978eb9512e583 100644 (file)
            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)