[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Is there a way to inhibit message3 from Elisp?
From: |
Artur Malabarba |
Subject: |
Re: Is there a way to inhibit message3 from Elisp? |
Date: |
Wed, 22 Apr 2015 13:42:18 +0100 |
On Apr 22, 2015 1:55 PM, "Oleh Krehel" <address@hidden> wrote:
>
> Eli Zaretskii <address@hidden> writes:
> >> I got this code to work as I expect:
> >>
> >> (progn
> >> (setq inhibit-message t)
> >> (message "foo")
> >> (setq inhibit-message nil))
> >>
> >> However, this doesn't work:
> >>
> >> (let ((inhibit-message t))
> >> (message "foo"))
> >
> > How does it "not work"? It did for me.
>
> I misunderstood that when "C-x C-e" would not print the message in
> *scratch*. But otherwise, it works.
C-x C-e does print the message. You just don't see it because it immediately prints the return values afterwards. :-)
- Re: Is there a way to inhibit message3 from Elisp?, (continued)
- Re: Is there a way to inhibit message3 from Elisp?, Oleh Krehel, 2015/04/22
- Re: Is there a way to inhibit message3 from Elisp?, Eli Zaretskii, 2015/04/22
- Re: Is there a way to inhibit message3 from Elisp?, Oleh Krehel, 2015/04/22
- Re: Is there a way to inhibit message3 from Elisp?, Eli Zaretskii, 2015/04/22
- Re: Is there a way to inhibit message3 from Elisp?, Oleh Krehel, 2015/04/22
- Re: Is there a way to inhibit message3 from Elisp?, Eli Zaretskii, 2015/04/22
- Re: Is there a way to inhibit message3 from Elisp?, Stefan Monnier, 2015/04/22
- Re: Is there a way to inhibit message3 from Elisp?, Oleh Krehel, 2015/04/22
- Re: Is there a way to inhibit message3 from Elisp?, Artur Malabarba, 2015/04/22
- Re: Is there a way to inhibit message3 from Elisp?, Stefan Monnier, 2015/04/22
- Re: Is there a way to inhibit message3 from Elisp?,
Artur Malabarba <=
- Re: Is there a way to inhibit message3 from Elisp?, Artur Malabarba, 2015/04/22
- Re: Is there a way to inhibit message3 from Elisp?, Oleh Krehel, 2015/04/22
- Re: Is there a way to inhibit message3 from Elisp?, Stefan Monnier, 2015/04/22