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

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

Re: when rebind a key with global-set-key , if I need to use global-uns


From: waterloo
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 16:07:26 +0800

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)

Please note "must" in above paragraph.

Thanks

reply via email to

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