|
From: | Raffaele Ricciardi |
Subject: | Re: `yank-and-mark` command? |
Date: | Sun, 5 Jul 2015 20:02:13 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.0.1 |
On 05/07/15 19:48, Michael Heerdegen wrote:
Raffaele Ricciardi <rfflrccrd@gmail.com> writes:implementation does not work: (defun yank-and-mark/rr (&optional $arg) (interactive "*P") (yank $arg) (exchange-point-and-mark))In which way does the above not work like you want? Do you have `transient-mark-mode' enabled in your config?
I am trying to mimic C-y C-x C-x. I have considered using a keyboard macro, but I would prefer a Lisp alternative. Transient Mark Mode is enabled by default in my Emacs.
[Prev in Thread] | Current Thread | [Next in Thread] |