"jronald" <[EMAIL PROTECTED]> writes:
> Why use auto-mode-alist, but not auto-mode-list?
Because it's an association-list, not just an ordinary list.
Elements of association-lists are cons-pairs, e.g (a . b), and we
can use the assoc function to find matches:
(assoc "potato"
'(("apple" . "fruit") ("potato" . "vegetable") ("icecream" .
"desert")))
evaluates to ("potato" . "vegetable")
Brendan
--
Brendan Halpin, Department of Sociology, University of Limerick, Ireland
Tel: w +353-61-213147 f +353-61-202569 h +353-61-338562; Room F2-025 x 3147
mailto:[EMAIL PROTECTED] http://www.ul.ie/sociology/brendan.halpin.html
_______________________________________________
info-gnus-english mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/info-gnus-english