Dear developers, I apologize for demanding some of your precious time. I have the following in my .stumpwmrc file:
(defun no-windows-group-go () "Gives number of windows in frame." (when (= (length (group-windows (current-group))) 0) (run-commands "gselect 1"))) (add-hook *destroy-window-hook* 'no-windows-group-go) The function seems to work, but it produces the message: Error: invalid number of arguments: 1 whenever a window is destroyed. What is wrong with my code? I'm using 0.9.6 git compiled on 2009/07/17. Thank you very much in advance for any comment. Luis O. Silva -- Luis Octavio Silva Pereyra. IIMAS-UNAM Depto. de Métodos Matemáticos y Numéricos Apdo. postal 20-726 01000 México, D.F. WEB: http://leibniz.iimas.unam.mx/~silva/ _______________________________________________ Stumpwm-devel mailing list Stumpwm-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/stumpwm-devel