From: Bastien <bastienguerry@googlemail.com>
To: waterloo <waterloo2005@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: when rebind a key with global-set-key , if I need to use global-unset-key on that key ?
Date: Mon, 27 Jul 2009 17:12:52 +0800 [thread overview]
Message-ID: <87d47mwkiy.fsf@bzg.ath.cx> (raw)
In-Reply-To: <907065090907270107s220e431do740e56f78d4ce13b@mail.gmail.com> (waterloo's message of "Mon, 27 Jul 2009 16:07:26 +0800")
waterloo <waterloo2005@gmail.com> writes:
> In `16.9 Loading Files' of Intro to Emacs Lisp under emacs23.0.96.1 .
> ==================
> To replace the key binding for the default
> `split-window-vertically', you must also unset that key and bind the
> keys to `split-window-quietly', like this:
>
> (global-unset-key "\C-x2")
> (global-set-key "\C-x2" 'split-window-quietly)
Try it. You'll see that (global-set-key "\C-x2" 'split-window-quietly)
is enough.
> Please note "must" in above paragraph.
Yes. Perhaps it's legacy from older versions of Emacs.
I don't know how to fix the Emacs Lisp Intro.
--
Bastien
next prev parent reply other threads:[~2009-07-27 9:12 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-27 8:07 when rebind a key with global-set-key , if I need to use global-unset-key on that key ? waterloo
2009-07-27 9:12 ` Bastien [this message]
-- strict thread matches above, loose matches on Subject: below --
2009-07-27 6:13 waterloo
2009-07-27 6:44 ` Bastien
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87d47mwkiy.fsf@bzg.ath.cx \
--to=bastienguerry@googlemail.com \
--cc=help-gnu-emacs@gnu.org \
--cc=waterloo2005@gmail.com \
/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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.