dfb
dfb

Reputation: 13289

Rebinding page-up via global-set-key

I'm trying to rebind my page-up and page-down keys to some functions I've written using global-set-key

(global-set-key [next] 'up-rate)
(global-set-key [previous] 'down-rate)

This seems to work fine for page-down, but not page-up (previous) - the key remains bound to "buffer page up". Am I missing something obvious here? I have a hard time believing that this is specific to page up, but I'm not sure where to look

Upvotes: 1

Views: 1014

Answers (1)

Eli Barzilay
Eli Barzilay

Reputation: 29556

C-h c is your friend -- it will tell you that the name of the page up key is prior, not previous.

Upvotes: 5

Related Questions