Davin Pearson
2010-04-15 03:56:39 UTC
I am trying to rebing <tool-bar> <kill-buffer> to d-kill-buffer, my
own creation. Here is the code that I have tried to use but failed:
(global-set-key [<tool-bar> <kill-buffer>] 'd-kill-buffer)
This doesn't work as after executing this command, the mouse clicks
are still bound to kill-this-buffer, which I don't want. Would
someone be able to help me with the solution to this problem?
own creation. Here is the code that I have tried to use but failed:
(global-set-key [<tool-bar> <kill-buffer>] 'd-kill-buffer)
This doesn't work as after executing this command, the mouse clicks
are still bound to kill-this-buffer, which I don't want. Would
someone be able to help me with the solution to this problem?