From: Juri Linkov <juri@jurta.org>
To: Drew Adams <drew.adams@oracle.com>
Cc: 15234@debbugs.gnu.org, Jambunathan K <kjambunathan@gmail.com>
Subject: bug#15234: 24.3.50; Make C-x u repeatable
Date: Sun, 01 Sep 2013 19:27:42 +0300 [thread overview]
Message-ID: <877gf0bj7l.fsf@mail.jurta.org> (raw)
In-Reply-To: <43f0049b-2988-41e6-be88-709563ccee98@default> (Drew Adams's message of "Sun, 1 Sep 2013 08:23:28 -0700 (PDT)")
>> Make C-x u repeatable.
>
> FWIW, this is what I use:
>
> (defun undo-repeat (arg)
You can make any command repeatable more easily with:
(advice-add 'undo :after
(lambda (delta)
(set-temporary-overlay-map
(let ((map (make-sparse-keymap)))
(define-key map (vector last-command-event) this-command)
map))))
next prev parent reply other threads:[~2013-09-01 16:27 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-01 12:21 bug#15234: 24.3.50; Make C-x u repeatable Jambunathan K
2013-09-01 15:23 ` Drew Adams
2013-09-01 16:11 ` Jambunathan K
2013-09-01 16:27 ` Juri Linkov [this message]
2013-09-01 16:45 ` Jambunathan K
2013-09-03 1:46 ` Stefan Monnier
2013-09-03 2:15 ` Drew Adams
2013-09-03 2:23 ` Jambunathan K
2013-09-03 2:27 ` Drew Adams
2013-09-03 6:32 ` Dani Moncayo
2013-09-03 14:49 ` Drew Adams
2013-09-03 15:31 ` Dani Moncayo
2013-09-03 16:19 ` Drew Adams
2013-09-03 16:41 ` Dani Moncayo
2013-09-03 20:58 ` Jambunathan K
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=877gf0bj7l.fsf@mail.jurta.org \
--to=juri@jurta.org \
--cc=15234@debbugs.gnu.org \
--cc=drew.adams@oracle.com \
--cc=kjambunathan@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.