Tassilo Horn <[EMAIL PROTECTED]> writes:

> Reinhard Tartler <[EMAIL PROTECTED]> writes:
>
>> Thats nice. Any way I can make the 'x' key
>> (gnus-summary-limit-to-unread) issue the '=' key (command
>> gnus-summary-expand-window) as well?
>
> This should do the trick:
>
> --8<---------------cut here---------------start------------->8---
> (add-hook 'gnus-summary-mode-hook
>           (lambda ()
>             (local-set-key (kbd "x") 
>                            (lambda ()
>                              (gnus-summary-limit-to-unread)
>                              (gnus-summary-expand-window)))))
> --8<---------------cut here---------------end--------------->8---

Thank you for your fast response. I tried that, but I get this error
message when trying to use it:

Wrong type argument: commandp, (lambda nil
(gnus-summary-limit-to-unread) (gnus-summary-expand-window))

Seems like I have to seriously teach myself elisp some time...

-- 
Gruesse/greetings,
Reinhard Tartler, KeyID 945348A4



_______________________________________________
info-gnus-english mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/info-gnus-english

Reply via email to