indentation - How can I tell emacs how the arguments to my elisp function should be indented? -


I wrote (actually a macro, but whatever) that works similar to progn Does. How can I tell if this function is progn ?

it << p>

  ( 'Myfunc' lisp-indent-function 0) should be inserted  

lisp-indent -function ( f lisp-indent-function RET ):

  lisp-indent-function `Lisp-mode.el 'has a compiled Lisp function (Lisp-indent- Function indent-point state) This function variable is the common value of `lisp-indent-function`, its function is used to indicate a line within the call, to see that Hnkshn has called that line is nothing special to say about how to indent or not. Indent-point is the situation where the user typed the tab, or the equivalent. Point is located at the point of the indent (for the default indentation); State is `parse-partial-sex 'state for that condition if the current line is a lisp function in which a non-blue property is' lisp-indent-function', which indicates how to do an indentation. The value of the property can be: * `` `` `` `` `` `` `` `` `` `` `` `` `` `` `` `` `` `` ` * An integer N, which means that the first N logic is especially like simple work arguments and then indent further arguments like a body; * As soon as this function was called to call a function If that function becomes zero, it means that it does not specify indentation. This function also returns zero, which means does not specify indented.  

Comments