[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Strange use of (run-with-timer 0 nil #'foo args) in do-after-load-ev
From: |
Juri Linkov |
Subject: |
Re: Strange use of (run-with-timer 0 nil #'foo args) in do-after-load-evaluation |
Date: |
Sun, 03 Nov 2019 22:50:14 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu) |
>> query-replace-map needs to be translated to another keymap
>> where the same characters from 'query-replace-map'
>> run real commands, not intermediate symbols.
>
> E.g.
>
> (defvar foo-remapping-map
> (let ((map (make-sparse-keymap)))
> (define-key map [remap ask] '...)
> ...
> map))
>
> and then
>
> ... (make-composed-keymap query-replace-map foo-remapping-map) ..
Thanks, I tried this, and everything works fine.
I'll post the patch after more testing.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: Strange use of (run-with-timer 0 nil #'foo args) in do-after-load-evaluation,
Juri Linkov <=