help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Toggle appointment notification


From: tomas
Subject: Re: Toggle appointment notification
Date: Tue, 1 Dec 2020 20:53:57 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

On Tue, Dec 01, 2020 at 10:23:31PM +0300, Jean Louis wrote:
> * pietru@caramail.com <pietru@caramail.com> [2020-12-01 22:14]:
> > > (defun message-any (any)
> > >   "Message anything to minibuffer"
> > >   (message "%s" (prin1-to-string any)))
> > 
> > How can one add a heading string before calling prin1-to-string.
> > The message would then give me some more clarity.
> 
> (message "%s: %s" heading (prin1-to-string any))

Or, if the heading is a constant, just

  (message "my heading: %s" (prin1-to-string any))

Cheers
 - t

Attachment: signature.asc
Description: Digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]