Re: emacs-31 429336b409e: Fix perl-calculate-indent

Petteri Hintsanen <[email protected]>
Newsgroups gmane.emacs.devel
Message-ID <[email protected]>
Harald Jörg <[email protected]> writes:

> Stefan Monnier writes:
>
>>> +           (format (and (characterp (nth 3 state))
>>>                          (char-equal (nth 3 state) ?\n))))
>>
>> (equal (nth 3 state) ?\n) ?
>
> It had occurred to me that this is could be another way to do it.  But I
> wasn't sure, and I could not break Petteri's solution.  So, I simply ran
> `git am` and kept it.

uh oh, well this is embarrassing.

I will play my get-out-of-jail-free card here and state that I did not
really think about the issue, but just added characterp there to get the
indentation working.

If equal works as well then by all means change the code to use it.

Thanks,
Petteri
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.