|
From: | John Mastro |
Subject: | Re: Block as method parameter indentation in objc-mode |
Date: | Thu, 28 May 2015 11:26:21 -0700 |
Juha Nieminen <nospam@thanks.invalid> wrote: >>>> /* >>>> (push '(objc-method-call-cont . (c-lineup-ObjC-method-call-colons >>>> ;; c-lineup-ObjC-method-call >>>> 2)) >>>> c-offsets-alist) >>>> */ > I have no idea what to do with that information. I still haven't the > slightest clue where I should put that command. Try this: (eval-after-load 'cc-mode '(push '(objc-method-call-cont . (c-lineup-ObjC-method-call-colons ;; c-lineup-ObjC-method-call 2)) c-offsets-alist)) That wraps Pascal's suggestion in `eval-after-load' such that it's not evaluated until after `cc-mode' is loaded. -- john
[Prev in Thread] | Current Thread | [Next in Thread] |