Juha Nieminen wrote:
Kevin Rodgers kirjoitti:
(global-set-key (kbd "M-7") "{")
(global-set-key "M-7" "{") seems to work as well.
This is exactly what I was looking for. I didn't know you could give
directly a string to global-set-key, rather than a command (as I
mentioned, my knowledge of elisp is next to nil).
New problem: When I do that, and then press ctrl-s to start a search
and press the key combination in question, rather than inserting { in
the search area at the bottom of the window, it instead cancels the
search and inserts the { in the current buffer, as if I hadn't started a
search at all.
Why is it doing that?