[Top][All Lists]

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

Re: global-set-key in text-mode

From: educkworth
Subject: Re: global-set-key in text-mode
Date: Wed, 20 Feb 2008 11:01:35 -0800 (PST)
User-agent: G2/1.0

> (add-hook 'text-mode-hook
>           '(lambda ()
>                    (define-key text-mode-map "\M-s" 'save-buffer)))

Thanks, but this doesn't work for me.  M-s, in text-mode, is still
bound to center line.

I'll browse the manuals a little more about keymaps, define-key, etc.


reply via email to

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