mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-03-26 08:41:47 -07:00
Tentative fix ert-play-keys
* test/lisp/ses-tests.el (ert-play-keys): Use `execute-kbd-macro' rather than `funcall'.
This commit is contained in:
parent
b5144b90a7
commit
f3a3ca40f3
1 changed files with 12 additions and 10 deletions
|
|
@ -267,16 +267,18 @@ cell has to be rewritten to data area."
|
|||
(defmacro ert-play-keys (&rest keys)
|
||||
(let ((buf (make-symbol "buf")))
|
||||
`(let ((,buf (current-buffer)))
|
||||
(funcall
|
||||
(kmacro (concat
|
||||
"M-: ( p o p - t o - b u f f e r SPC \" "
|
||||
,`(mapconcat (lambda (x)
|
||||
(cond
|
||||
((= x 32) "SPC")
|
||||
(t (string x))))
|
||||
(buffer-name ,buf) " ")
|
||||
" \" ) RET "
|
||||
,@keys))))))
|
||||
(execute-kbd-macro
|
||||
(kmacro--keys
|
||||
(kmacro
|
||||
(concat
|
||||
"M-: ( p o p - t o - b u f f e r SPC \" "
|
||||
,`(mapconcat (lambda (x)
|
||||
(cond
|
||||
((= x 32) "SPC")
|
||||
(t (string x))))
|
||||
(buffer-name ,buf) " ")
|
||||
" \" ) RET "
|
||||
,@keys)))))))
|
||||
|
||||
|
||||
(ert-deftest ses-read-column-printer ()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue