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

Harald Jörg <[email protected]>
Newsgroups gmane.emacs.devel
Message-ID <[email protected]>
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.

Simply replacing `char-equal` with `equal` looks nice and would be even
less intrusive than the patch now applied to emacs-31.  If you want me
to commit that, I'd be happy to do it - after all, you know both
perl-mode and emacs lisp better than I do.
-- 
Cheers,
haj
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.