[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [External] : interactive to do `use-region-p'
From: |
Drew Adams |
Subject: |
RE: [External] : interactive to do `use-region-p' |
Date: |
Mon, 7 Nov 2022 02:29:54 +0000 |
> > use that with (interactive `(,@(DTRT))).
> A.k.a (interactive (DTRT)), right?
;-) Yup/oops.
I was thinking of the more general case of
region/buffer-limit args, plus additional args.
(defun foo (beg end other)
(interactive `(,@(dtrt) ,(+ 2 7)))
...)
or
(defun foo (begin end other)
(interactive (append (dtrt) (list (+ 2 7))))
...)
<<attachment: winmail.dat>>
Re: [External] : interactive to do `use-region-p', Emanuel Berg, 2022/11/07