[Top][All Lists]

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

Re: DWIM region

From: Emanuel Berg
Subject: Re: DWIM region
Date: Fri, 05 Jan 2018 00:20:27 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)

Stefan Monnier wrote:

> `region` should be an argument, so the
> use-region-p check is performed in the
> interactive spec rather than in the body of
> the function

So this is the magic behind `interactive'?!
I always wondered about that!

(defun interactive-ownz (echo-me)
  (interactive (list "You are lame"))
  (message echo-me) )
(interactive-ownz "Not so")

underground experts united

reply via email to

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