I always thought TeX's macros are very Lispy like and stumbling across the definition of the LaTeXe logo confirmed it. The macro is defined as follows:
%\LaTeXe The LATEX2" logo as proposed by A-W designers.
\def\LaTeXe{%
\mbox{\m@th%
\if b\expandafter\@car\f@series\@nil\boldmath\fi
\LaTeX\kern.15em2$_{\textstyle\varepsilon}$}}
So what does the \@car do?
Introduced in the Lisp programming language, car and cdr are primitive operations upon linked lists composed of cons cells.
When cons cells are used to implement singly-linked lists (rather than trees and other more complicated structures), the car operation returns the first element of the list, while cdr returns the rest of the list.
How does the @car work and what is @nil? As far as I can see, it is undefined, but does not give an error. It does not even give an error even if I define it as `\def\@nil{illdefined!}, as shown in the code below.
\documentclass[11pt]{article}
\usepackage{graphicx}
\usepackage{verbatim}
\begin{document}
\bigskip
\makeatletter
\def\@nil{illdefined!}
\scalebox{5}{\LaTeXe}
\makeatother
\end{document}
More on CAR and CDR at the wikipedia