help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Disabling M-q


From: Cecil Westerhof
Subject: Disabling M-q
Date: Wed, 15 May 2013 17:31:31 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux)

A friend asked how to disable M-q. My first thought was:
    (local-unset-key (kbd "\M-q"))
or
    (local-set-key (kbd "M-q") nil)

But both did not work. I am now using:
    (local-set-key (kbd "M-q") "")

and this works. Is this the best way, or is there a better way?

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof


reply via email to

[Prev in Thread] Current Thread [Next in Thread]