push_back
July 16th, 2009, 05:09 PM
Hello anyone,
I'm having a weird problem, that may or may not have anything to do with using ubuntu.
I've defined some key bindings I want to use in my ~/.emacs, but they don't work. More shockingly, emacs itself seems to think they should!
Here's my .emacs section of relevance:
(global-set-key [M-p] 'previous-buffer)
when I enter the key combo (after saving & restarting emacs to make sure) it says:
M-p is undefined
when I enter the long command 'M-x previous-buffer', it says:
You can run the command `previous-buffer' with <M-p>
I'm confused.
Thanks for any input...
I'm having a weird problem, that may or may not have anything to do with using ubuntu.
I've defined some key bindings I want to use in my ~/.emacs, but they don't work. More shockingly, emacs itself seems to think they should!
Here's my .emacs section of relevance:
(global-set-key [M-p] 'previous-buffer)
when I enter the key combo (after saving & restarting emacs to make sure) it says:
M-p is undefined
when I enter the long command 'M-x previous-buffer', it says:
You can run the command `previous-buffer' with <M-p>
I'm confused.
Thanks for any input...