>> Inside what? If they're in my code please let me know and I will try
>> to fix it.
>
> it relats to the (beginning-of-def-or-class) call now, which is wrong
> IMHO as might reach BOB while just called from inside a string, needed
> is beginning-of-statement.
I agree that that would be wrong, but in `py-doc-string-p' I'm using
`py-beginning-of-statement' to go to the beginning of the current
statement and then check if where at beginning of buffer, def or class
by using `bobp' and `py-beginning-of-def-or-class-p', is this not
correct?
Andreas Roehler <email address hidden> writes:
>> Inside what? If they're in my code please let me know and I will try of-def- or-class) call now, which is wrong of-statement.
>> to fix it.
>
> it relats to the (beginning-
> IMHO as might reach BOB while just called from inside a string, needed
> is beginning-
I agree that that would be wrong, but in `py-doc-string-p' I'm using of-statement' to go to the beginning of the current of-def- or-class- p', is this not
`py-beginning-
statement and then check if where at beginning of buffer, def or class
by using `bobp' and `py-beginning-
correct?