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

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

Re: Toggle appointment notification


From: Jean Louis
Subject: Re: Toggle appointment notification
Date: Tue, 1 Dec 2020 21:52:42 +0300
User-agent: Mutt/2.0 (3d08634) (2020-11-07)

* pietru@caramail.com <pietru@caramail.com> [2020-12-01 21:37]:
> There is one thing that is bugging me while testing my approach.  If I get
> the state of a function, how can I then print the state in the messages
> buffer?
> 
> (get 'appt-ntf-cycle 'state)

Do you know (message "%s" state) function?

If you obtain any value you may put it instead of `state'.

For long time I used this function:

(defun message-any (any)
  "Message anything to minibuffer"
  (message "%s" (prin1-to-string any)))




reply via email to

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