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

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

Re: ask for the value of several variables at once


From: Nick Dokos
Subject: Re: ask for the value of several variables at once
Date: Fri, 09 Mar 2018 18:44:58 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Emanuel Berg <moasen@zoho.com> writes:

> Nick Dokos wrote:
>
>> I don't know, but it does return a string,
>> which I get in the echo area and in the
>> *Messages* buffer. Try to paste the defun
>> into your *scratch* buffer (make sure that it
>> is in lisp-interaction mode), then evaluate
>> it
>
> (defun my-name-is-neo ()
>   (interactive)
>   1)
>
> ;; now try evaluating:
> ;; 
> ;;     (my-name-is-neo)
> ;;
> ;; but then do
> ;;
> ;;     M-x my-name-is-neo RET   <silence>
> ;;
> ;; only this also shows it so perhaps the
> ;; interactive rule only "holds" sometimes :)
> ;;
> ;;     (call-interactively #'my-name-is-neo)

Ah, I did miss the interactive part - thanks!
-- 
Nick




reply via email to

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