|Subject:||Re: how to use "dolist" if it's elements are also list|
|Date:||Wed, 04 Nov 2009 13:54:56 +0800|
|User-agent:||Mozilla-Thunderbird 188.8.131.52 (X11/20090706)|
Drew Adams wrote:
thanks for your help. it now works.(dolist (the-hook '(c-mode-common-hook java-mode-hook perl-mode-hook php-mode-hook emacs-lisp-mode-hook)) (add-hook 'the-hook 'my-common-key-binding))Don't quote the-hook. You want its value. The value of 'the-hook is the symbol the-hook itself, not the value of that symbol.
|[Prev in Thread]||Current Thread||[Next in Thread]|