From: Daiki Ueno Date: Sat, 16 Jan 2016 07:51:10 +0000 (+0900) Subject: align: Ignore some G_* symbols X-Git-Url: https://code.delx.au/gnu-emacs-elpa/commitdiff_plain/180cd98e42ac0aaf78aaf48ece68173a48eae941 align: Ignore some G_* symbols --- diff --git a/gobject-align.el b/gobject-align.el index be25a100a..33922332e 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)