unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Cecil Westerhof <Cecil@decebal.nl>
To: help-gnu-emacs@gnu.org
Subject: Disabling M-q
Date: Wed, 15 May 2013 17:31:31 +0200	[thread overview]
Message-ID: <87txm4w97w.fsf@Aspire.decebal.nl> (raw)

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	other threads:[~2013-05-15 15:31 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-15 15:31 Cecil Westerhof [this message]
2013-05-16  2:59 ` Disabling M-q Yuri Khan
2013-05-18  4:43 ` B. T. Raven
2013-05-18 10:26   ` Emanuel Berg
2013-05-18 17:44     ` B. T. Raven
2013-05-21  8:21       ` Cecil Westerhof
2013-05-21 16:44         ` Drew Adams
2013-05-21 16:57         ` B. T. Raven
     [not found]         ` <mailman.131.1369154672.22516.help-gnu-emacs@gnu.org>
2013-05-21 18:35           ` Cecil Westerhof
2013-05-21 20:29             ` Drew Adams
2013-05-21 20:44           ` B. T. Raven
2013-05-22 14:59             ` Drew Adams
     [not found] ` <mailman.25881.1368673172.855.help-gnu-emacs@gnu.org>
2013-05-21  8:13   ` Cecil Westerhof

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87txm4w97w.fsf@Aspire.decebal.nl \
    --to=cecil@decebal.nl \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).