Subject: Re: bug#43866: 26.3; italian postfix additions

From: Eli Zaretskii <[email-masked]>
Date: Wed, 21 Oct 2020 21:35:25 +0300

> From: Juri Linkov <[email-masked]>
> Cc: [email-masked],  [email-masked]
> Date: Wed, 21 Oct 2020 21:27:16 +0300
> 
> >> (prin1 '(("'A" . [?Á])
> >>          ("'E" . [?É])
> >>          ("'I" . [?Í])
> >>          ("'O" . [?Ó])
> >>          ("'U" . [?Ú])
> >>          ("'Y" . [?Ý]))
> >>        (current-buffer))
> >
> > Why do you have to use prin1?
> 
> Actually I need to use pp-to-string to pretty-print the list,
> but pp-to-string calls '(prin1 object (current-buffer))'.

prin1 accepts a function as its 2nd argument; can you use that?