stumpwm-devel
[Top][All Lists]
Advanced

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

[STUMP] undefine-key not working for me


From: Niels
Subject: [STUMP] undefine-key not working for me
Date: Tue, 29 Jul 2014 22:14:52 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

Hi

I have rebinded some keys in my stumpwmrc. For example I have rebinded
"w" to show "windowslist" instead of "windows". But I also want to
remove the old keybinding. This is what I have in my stumpwmrc:

(undefine-key *root-map* (kbd "w"))
(undefine-key *root-map* (kbd "\""))
(define-key *root-map* (kbd "w") "windowlist")

"C-t w" now gives me "windowlist", but the old keybinding for windowlist
on "C-t "" still works, and both " and w is listed on the command overview
on "C-t ?". 

As I understand the manual that should be the correct syntax to
undefine a key, but I seem to have missed something, since it does not
work for me. What have I missed?

-- 
Niels



reply via email to

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