[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Changing behavior of backward-word?
From: |
Elena |
Subject: |
Re: Changing behavior of backward-word? |
Date: |
Wed, 08 Dec 2010 15:35:10 -0000 |
User-agent: |
G2/1.0 |
On Oct 31, 10:27 pm, Johan Json <wow...@gmail.com> wrote:
> Afterthought, would this possibly break other user modes dependant on
> key M-b and/or 'backward-word'?
It would not. This is basic Emacs customization. Here is the code:
(defun my-backward-word ()
(interactive)
(backward-word)
(backward-char))
(global-set-key (kbd "M-b") #'my-backward-word)