[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: if I set home key to this macro then shift+home does not select text
From: |
Lennart Borgman |
Subject: |
Re: if I set home key to this macro then shift+home does not select text in cua-mode |
Date: |
Tue, 25 Nov 2008 17:27:51 +0100 |
On Tue, Nov 25, 2008 at 2:57 PM, Xah Lee <xahlee@gmail.com> wrote:
> As to your question, you can make it work by this:
>
> (add-hook 'cua-mode-hook
> (lambda ()
> (put 'my-home 'CUA 'move)
> )
> )
Isn't it enough with just
(put 'my-home 'CUA 'move)