mirror of
https://github.com/vale981/boon
synced 2025-03-06 01:51:38 -05:00
quoting insert the same character for every cursor
(in multiple-cursors mode)
This commit is contained in:
parent
b4bb92a5c4
commit
b2b03fc637
1 changed files with 1 additions and 1 deletions
|
@ -657,7 +657,7 @@ If there is more than one, use mc/create-fake-cursor-at-point."
|
|||
|
||||
(defun boon-quote-character (char)
|
||||
"Execute the command bound to the character CHAR if boon was not enabled."
|
||||
(interactive "cThe character to insert or command to execute")
|
||||
(interactive (list (read-char))) ;; use read-char so that multiple-cursors advice kicks in.
|
||||
(let ((cmd
|
||||
(or (and (current-local-map) (lookup-key (current-local-map) (vector char)))
|
||||
(lookup-key (current-global-map) (vector char)))))
|
||||
|
|
Loading…
Add table
Reference in a new issue