GNU bug report logs - #15234
24.3.50; Make C-x u repeatable

Previous Next

Package: emacs;

Reported by: Jambunathan K <kjambunathan <at> gmail.com>

Date: Sun, 1 Sep 2013 12:20:02 UTC

Severity: wishlist

Merged with 12572

Found in versions 24.2.50, 24.3.50

Done: Dani Moncayo <dmoncayo <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Juri Linkov <juri <at> jurta.org>
To: Drew Adams <drew.adams <at> oracle.com>
Cc: 15234 <at> debbugs.gnu.org, Jambunathan K <kjambunathan <at> gmail.com>
Subject: bug#15234: 24.3.50; Make C-x u repeatable
Date: Sun, 01 Sep 2013 19:27:42 +0300
>> 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))))




This bug report was last modified 11 years and 318 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.