[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#5264: 23.1; `repeat' should not hard-code the set of affected comman
From: |
Drew Adams |
Subject: |
bug#5264: 23.1; `repeat' should not hard-code the set of affected commands |
Date: |
Thu, 24 Dec 2009 07:30:20 -0800 |
emacs -Q
In the definition of command `repeat':
(if (memq last-repeatable-command
'(exit-minibuffer
minibuffer-complete-and-exit
self-insert-and-exit))
This list of affected commands should not be hard-coded. If user code
uses different functions from `exit-minibuffer' and
`minibuffer-complete-and-exit', then users must redefine `repeat' to
accommodate this command difference. The `repeat' definition should
be more flexible than that.
This list of commands should be treated the same way we treat the list
of dangerous commands (`repeat-too-dangerous'): define a variable
whose value is the list of commands - do not hard-code the list.
In GNU Emacs 23.1.1 (i386-mingw-nt5.1.2600)
of 2009-07-29 on SOFT-MJASON
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (4.4)'
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#5264: 23.1; `repeat' should not hard-code the set of affected commands,
Drew Adams <=