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

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

input to interactive M: key from text at point (was: help-gnu-emacs Dige


From: Van L
Subject: input to interactive M: key from text at point (was: help-gnu-emacs Digest, Vol 198, Issue 83)
Date: Sat, 25 May 2019 19:46:18 +1000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (darwin)

Budi <budikusasi@gmail.com> writes:

> How to hook string/word at point to be as input interactive M-: key,
> i.e. prompting Eval: on minibuffer ?

Guessing that you have text you want to evaluate as elisp, try the following.

--8<---------------cut here---------------start------------->8---
C-h f eval-region
--8<---------------cut here---------------start------------->8---

What I do is select a region of elisp text and M-x eval-region.

Hope that helps.

-- 
© 2019 Van L
gpg using EEF2 37E9 3840 0D5D 9183  251E 9830 384E 9683 B835
          "I don't believe any anything that the media say." - Ali Abdelaziz




reply via email to

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