[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [STUMP] How do you display an "area" like that of commands
From: |
Alex Kost |
Subject: |
Re: [STUMP] How do you display an "area" like that of commands |
Date: |
Fri, 16 Nov 2018 22:27:40 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) |
sirgazil (2018-11-13 15:19 -0500) wrote:
> Hi,
Hello,
> As a user I'd like to write a command that displays an area with some
> text, like the one used by the "commands" command; something like a
> message that stays on the screen until you abort it.
>
> Is it possible? I couldn't find information about this in the manual.
"commands" just calls 'message-no-timeout', so you can just define a
command like this one:
(defcommand some-text () ()
"My useful command."
(message-no-timeout "some text"))
--
Alex